Fix websockets-disabled build with an ifdef. rs=mcmanus (No bug)

This commit is contained in:
Kyle Huey 2011-06-24 11:00:46 -07:00
parent be1946a257
commit 8daedc7313

View File

@ -635,8 +635,10 @@ static void nsNetShutdown()
// Release DNS service reference.
nsDNSPrefetch::Shutdown();
#ifdef NECKO_PROTOCOL_websocket
// Release the Websocket Admission Manager
mozilla::net::nsWebSocketHandler::Shutdown();
#endif // NECKO_PROTOCOL_websocket
}
NS_DEFINE_NAMED_CID(NS_IOSERVICE_CID);