Open alexbk66 opened 1 year ago
Also, there's no UnRegisterEventCB?
I've been asking for a way to unregister this callback. I have done everything to properly close my plugin before exiting, but shortly after my plugin closes, error messages appear in the log that HS could not access my event routine.
I run a plugin, usually remotely, that starts and stops frequently and this sticky call back creates problems.
I also ran into this problem recently. It is tracked as HS-1764
Any progress on HS-1764?
If I call RegisterEventCB and then re-start the plugin - the event callback is still registered, unless I restart HS.
It's not a huge problem, but I think it's a wrong behaviour. If plugin is stopped - HS should de-register the callback.
Just to explain my issue I faced - I register the VALUE_CHANGE callback conditionally, only when needed.