Allow shutdowners to be removed in case they're no longer interested.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4287 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -357,6 +357,14 @@ public class PresentsServer
|
||||
_downers.add(downer);
|
||||
}
|
||||
|
||||
/**
|
||||
* Unregisters the shutdowner from hearing when the server is shutdown.
|
||||
*/
|
||||
public static void unregisterShutdowner (Shutdowner downer)
|
||||
{
|
||||
_downers.add(downer);
|
||||
}
|
||||
|
||||
public static void main (String[] args)
|
||||
{
|
||||
Log.info("Presents server starting...");
|
||||
|
||||
Reference in New Issue
Block a user