LogMessage shouldn't be serialized (can lead to blocking in case of exception in main thread), and do not require it.
authorEdouard Tisserant
Thu, 30 May 2019 11:53:13 +0200 (2019-05-30)
changeset 2612 98eb3d1c56b0
parent 2611 a1bf03277cec
child 2613 e05458405ff4
LogMessage shouldn't be serialized (can lead to blocking in case of exception in main thread), and do not require it.
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