mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 17:54:00 +02:00
Fixed shutdown procedure for Datagrams so that there is no crash on exit
This commit is contained in:
parent
ba4049754a
commit
25708678f6
1 changed files with 3 additions and 2 deletions
|
@ -29,12 +29,13 @@ DatagramProcessor::DatagramProcessor(QObject* parent) :
|
|||
}
|
||||
|
||||
void DatagramProcessor::processDatagrams() {
|
||||
PerformanceWarning warn(Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings),
|
||||
"DatagramProcessor::processDatagrams()");
|
||||
|
||||
if (_isShuttingDown) {
|
||||
return; // bail early... we're shutting down.
|
||||
}
|
||||
PerformanceWarning warn(Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings),
|
||||
"DatagramProcessor::processDatagrams()");
|
||||
|
||||
|
||||
HifiSockAddr senderSockAddr;
|
||||
|
||||
|
|
Loading…
Reference in a new issue