We go to all the trouble of implementing ShutdownManager.Shutdowner, let's go
ahead and actually register ourselves with the ShutdownManager. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5530 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -129,6 +129,7 @@ public abstract class ChatChannelManager
|
|||||||
ShutdownManager shutmgr)
|
ShutdownManager shutmgr)
|
||||||
{
|
{
|
||||||
invmgr.registerDispatcher(new ChannelSpeakDispatcher(this), CrowdCodes.CROWD_GROUP);
|
invmgr.registerDispatcher(new ChannelSpeakDispatcher(this), CrowdCodes.CROWD_GROUP);
|
||||||
|
shutmgr.registerShutdowner(this);
|
||||||
|
|
||||||
// create and start our idle channel closer (always be closing)
|
// create and start our idle channel closer (always be closing)
|
||||||
_closer = new Interval(omgr) {
|
_closer = new Interval(omgr) {
|
||||||
|
|||||||
Reference in New Issue
Block a user