beremiz
Clone
Summary
Browse
Changes
Graph
LogMessage shouldn't be serialized (can lead to blocking in case of exception in main thread), and do not require it.
2019-05-30, Edouard Tisserant
98eb3d1c56b0
Parents
a1bf03277cec
Children
e05458405ff4
LogMessage shouldn't be serialized (can lead to blocking in case of exception in main thread), and do not require it.
1 files changed, 1 insertions(+), 1 deletions(-)
+1
-1
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