dicoogle icon indicating copy to clipboard operation
dicoogle copied to clipboard

Shutdown plugins when terminating the server

Open Enet4 opened this issue 10 years ago • 3 comments
trafficstars

Although we have a Dicoogle plugin set interface exposing a shutdown() event method and a shutdown() method in our plugin controller, none of these are actually being called. Maybe it was, back in the remote GUI version, but not anymore. We should probably hook this to a termination signal.

Enet4 avatar Oct 26 '15 11:10 Enet4

@Enet4 seems that we going to address this at #115. So it may make sense to close this one?

bastiao avatar Dec 29 '20 14:12 bastiao

#115 does not fix this bug. It proposes a different way of implementing plugins, but that alone does not ensure that a shutdown always takes place. In addition, I am still hoping that this can be done without a major version of Dicoogle.

Enet4 avatar Dec 29 '20 14:12 Enet4

Dicoogle has behaved like this for so long that it's best to push this to the next major version, so as to prevent surprises.

Enet4 avatar Mar 22 '22 09:03 Enet4