mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Only wait one second for m65 to terminate in map65 exit
This also disconnects QProcess signals so any abend from m65 while closing is silently ignored.
This commit is contained in:
parent
525c791a16
commit
243d7d5835
@ -952,8 +952,8 @@ void MainWindow::closeEvent (QCloseEvent * e)
|
||||
proc_m65.setReadChannel (QProcess::StandardError);
|
||||
proc_m65.readAll ();
|
||||
|
||||
// allow time for any decode cycle to finish
|
||||
if (!proc_m65.waitForFinished ()) proc_m65.kill();
|
||||
proc_m65.disconnect ();
|
||||
if (!proc_m65.waitForFinished (1000)) proc_m65.kill();
|
||||
quitFile.remove();
|
||||
mem_m65.detach();
|
||||
if (m_astro_window) m_astro_window->close ();
|
||||
|
Loading…
Reference in New Issue
Block a user