...
[nikiroo-utils.git] / src / be / nikiroo / utils / serial / server / ConnectAction.java
index 8dbc7aa22ce195383f2c82cd225dd9f042e25b14..c5750bdcf2aa0616c955229a94388cb95195066b 100644 (file)
@@ -217,6 +217,7 @@ abstract class ConnectAction {
        protected Object sendObject(Object data) throws IOException,
                        NoSuchFieldException, NoSuchMethodException, ClassNotFoundException {
                synchronized (lock) {
+
                        new Exporter(out).append(data);
 
                        if (server) {
@@ -268,7 +269,7 @@ abstract class ConnectAction {
                                        out.flush();
                                        contentToSend = false;
                                }
-
+                               
                                return new Importer().read(in).getValue();
                        }