It seems that when Mushclient reinstalls a plugin, any 'open' references to ActiveX objects remain intact. They should instead be closed some way. If you do this:
dim hndl
set hndl = createobject("some object")
set hndl = createobject("some object")
Then the first version would close. This is 'basically' what reinstalling the plugin should be doing, even if the state file kept a copy of the original contents. The reference should be invalid, Mushclient and/or the script engine should have released the connection and the object should have terminated itself. Instead, the first one remains and a new one is created, which means that Mushclient is probably not correctly releasing the script engine instance that the plugins code is in.
This is incorrect behaviour, and worse yet, reinstall doesn't execute the plugins OnPluginClose sub either, so the developer can't use 'set hndl = nothing' to terminate the object either. This is imho not a good thing, especially if the object is a huge ActiveX program, such as Word or Excel. Reinstalling a plugin that automatically openned such an ActiveX program every time would quickly eat all of your machines system resources very quickly. Not to mention other unpredictable problems that may exist as a result.
dim hndl
set hndl = createobject("some object")
set hndl = createobject("some object")
Then the first version would close. This is 'basically' what reinstalling the plugin should be doing, even if the state file kept a copy of the original contents. The reference should be invalid, Mushclient and/or the script engine should have released the connection and the object should have terminated itself. Instead, the first one remains and a new one is created, which means that Mushclient is probably not correctly releasing the script engine instance that the plugins code is in.
This is incorrect behaviour, and worse yet, reinstall doesn't execute the plugins OnPluginClose sub either, so the developer can't use 'set hndl = nothing' to terminate the object either. This is imho not a good thing, especially if the object is a huge ActiveX program, such as Word or Excel. Reinstalling a plugin that automatically openned such an ActiveX program every time would quickly eat all of your machines system resources very quickly. Not to mention other unpredictable problems that may exist as a result.