History

Fix for annoying intermittent seg fault on Linux exit. Closes #2542.

Andrzej Kapolka committed 12 years ago

Commit fb37ef51 parent f12da054 files · +19 −9Browse files

Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all

Unified · Split

interface/src/Application.cpp+3−0
@@ -372,6 +372,9 @@ Application::~Application() { · 371 unmodified lines
372 _nodeThread->quit();372 _nodeThread->quit();
373 _nodeThread->wait();373 _nodeThread->wait();
374 374
375 // stop the audio process
376 QMetaObject::invokeMethod(&_audio, "stop");
377
375 // ask the audio thread to quit and wait until it is done378 // ask the audio thread to quit and wait until it is done
376 _audio.thread()->quit();379 _audio.thread()->quit();
377 _audio.thread()->wait();380 _audio.thread()->wait();

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t