mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-19 21:09:39 +00:00
Prevent some shutdown exceptions - closes #136
This commit is contained in:
6 files changed
+77
-20
No files matched your search
@@ -387,6 +387,12 @@ public interface LuckPermsPlugin {
|
||||
*/
|
||||
BufferedRequest<Void> getUpdateTaskBuffer();
|
||||
|
||||
/**
|
||||
* Adds a runnable to be called when the plugin disables
|
||||
* @param r the runnable to run
|
||||
*/
|
||||
void addShutdownHook(Runnable r);
|
||||
|
||||
/**
|
||||
* Called at the end of the sync task.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user