Plugin API: Add Dispose() on server shutdown

Azunai shared this feedback 21 months ago
Submitted

Currently the Plugin API only offers

 void Init(object gameInstance); void Update();
I would love to see a Dispose() on server shutdown so a plugin can properly exit ( eg save stuff or do final tasks)

Comments (1)

photo
1

It already has a Dispose() because IPlugin implements IDisposable, you can't compile it without including Dispose()... so I'm not sure what you mean.

photo
1

my fail...

can i delete this topic somehow?

photo