LogMessage shouldn't be serialized (can lead to blocking in case of exception in main thread), and do not require it.
--- 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