Plugin API: Add Dispose() on server shutdown

Azunai shared this feedback 5 years 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)

Replies (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
Leave a Comment
 
Attach a file