remove check for shutting down

This commit is contained in:
Stephen Birarda 2015-07-14 15:43:10 -07:00
parent ca47165d72
commit b7b2cb73ef
2 changed files with 0 additions and 6 deletions

View file

@ -174,10 +174,6 @@ void PacketReceiver::processDatagrams() {
//PerformanceWarning warn(Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings),
//"PacketReceiver::processDatagrams()");
if (_isShuttingDown) {
return; // bail early... we're shutting down.
}
auto nodeList = DependencyManager::get<NodeList>();
while (nodeList->getNodeSocket().hasPendingDatagrams()) {

View file

@ -37,8 +37,6 @@ public:
void resetCounters() { _inPacketCount = 0; _inByteCount = 0; }
void shutdown() { _isShuttingDown = true; }
void registerListenerForTypes(const QSet<PacketType::Value>& types, PacketListener* listener, const char* slot);
void registerListener(PacketType::Value type, PacketListener* listener, const char* slot);
void unregisterListener(PacketListener* listener);