Interface ILateDisposable
Interface that is invoked after the server has been shutdown. Not called during hot reloads.
public interface ILateDisposable
- Extension Methods
Remarks
This interface should only be used to release function hooks, or to replicate data that was written during server shutdown (e.g. characters).
When this is called, the server instance has already been destroyed, and you cannot access any APIs.
Implement IDisposable instead to receive a callback just before server shutdown.