You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Fix wait for thread not started
This commit is contained in:
@@ -120,7 +120,9 @@ void AudioEffectRecordInstance::init() {
|
||||
}
|
||||
|
||||
void AudioEffectRecordInstance::finish() {
|
||||
io_thread.wait_to_finish();
|
||||
if (io_thread.is_started()) {
|
||||
io_thread.wait_to_finish();
|
||||
}
|
||||
}
|
||||
|
||||
AudioEffectRecordInstance::~AudioEffectRecordInstance() {
|
||||
|
||||
Reference in New Issue
Block a user