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:
Mike Thomas
2006-07-24 23:27:19 +00:00
parent ed1f43bdfc
commit 02113e6eab
@@ -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...");