0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-27 00:31:02 +08:00

#66: GUI crash fix

This commit is contained in:
Sergey Yagovtsev 2017-09-18 13:05:45 +03:00
parent e76f4d4a67
commit 86f2ff0c71

View File

@ -1440,7 +1440,8 @@ void EasyMainWindow::onListenerTimerTimeout()
{
if (m_listener.regime() == LISTENER_CAPTURE_RECEIVE)
m_listener.finalizeCapture();
m_listenerDialog->reject();
if (m_listenerDialog)
m_listenerDialog->reject();
}
else if (m_listener.regime() == LISTENER_CAPTURE_RECEIVE)
{