event based scripts continue to run even when they are disabled - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: event based scripts continue to run even when they are disabled (/showthread.php?tid=1863) |
event based scripts continue to run even when they are disabled - rocfusion - 26.01.2019 Hi, Create virtual object. Add the script below and run it. Now wait until logs the first time. Then disable the script. It will continue to run in the background even though it should be disabled. I would expect when you hit disabled it should kill off any running threads of the script. thx Roger Code: mac="c0:48:e6:ee:d1:2f" RE: event based scripts continue to run even when they are disabled - admin - 28.01.2019 Event scripts should never have infinite loops. You should use a resident script instead together with script.enable/disable. The only way to kill a script like this is from System config / Status / Running processes. |