# HG changeset patch
# User Edouard Tisserant
# Date 1559209993 -7200
# Node ID 98eb3d1c56b0294d9702a2b2303fa5d4518f1220
# Parent  a1bf03277cecb5f205ab507cbf5abb846576a039
LogMessage shouldn't be serialized (can lead to blocking in case of exception in main thread), and do not require it.

diff -r a1bf03277cec -r 98eb3d1c56b0 runtime/PLCObject.py
--- a/runtime/PLCObject.py	Thu May 30 11:51:56 2019 +0200
+++ b/runtime/PLCObject.py	Thu May 30 11:53:13 2019 +0200
@@ -125,7 +125,7 @@
             for callee in self.statuschange:
                 callee(self.PLCStatus)
 
-    @RunInMain
+    #@RunInMain
     def LogMessage(self, *args):
         if len(args) == 2:
             level, msg = args