mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-17 07:02:54 -04:00
Fixed server not shutting down when using shutdown admin command; Added ShutdownService
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package utilities;
|
||||
|
||||
import java.util.concurrent.ThreadFactory;
|
||||
|
||||
import org.python.google.common.util.concurrent.ThreadFactoryBuilder;
|
||||
|
||||
public class ThreadUtilities {
|
||||
|
||||
public static ThreadFactory newThreadFactory(String pattern) {
|
||||
return new ThreadFactoryBuilder().setNameFormat(pattern).build();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user