You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-28 16:07:14 +00:00
Fix wait for thread not started
This commit is contained in:
@@ -136,7 +136,9 @@ void AudioDriverDummy::mix_audio(int p_frames, int32_t *p_buffer) {
|
||||
void AudioDriverDummy::finish() {
|
||||
if (use_threads) {
|
||||
exit_thread.set();
|
||||
thread.wait_to_finish();
|
||||
if (thread.is_started()) {
|
||||
thread.wait_to_finish();
|
||||
}
|
||||
}
|
||||
|
||||
if (samples_in) {
|
||||
|
||||
Reference in New Issue
Block a user