mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
too early to rename thread
This commit is contained in:
@@ -769,7 +769,7 @@ void AudioServerSW::_thread_func(void *self) {
|
||||
|
||||
AudioServerSW *as=(AudioServerSW *)self;
|
||||
|
||||
as->thread->set_name("AudioServerSW");
|
||||
//as->thread->set_name("AudioServerSW");
|
||||
|
||||
while (!as->exit_update_thread) {
|
||||
as->_update_streams(true);
|
||||
@@ -811,6 +811,7 @@ void AudioServerSW::init() {
|
||||
#ifndef NO_AUDIO_THREADS
|
||||
exit_update_thread=false;
|
||||
thread = Thread::create(_thread_func,this);
|
||||
thread->set_name("AudioServerSW");
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user