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 5219048da2
commit 05f4101131

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);