Export: Properly disable resource preview thread
Fixes #26857. Fixes #34433. Fixes #34826.
This commit is contained in:
@ -215,7 +215,6 @@ void EditorResourcePreview::_generate_preview(Ref<ImageTexture> &r_texture, Ref<
|
||||
|
||||
void EditorResourcePreview::_thread() {
|
||||
|
||||
#ifndef SERVER_ENABLED
|
||||
exited = false;
|
||||
while (!exit) {
|
||||
|
||||
@ -349,7 +348,6 @@ void EditorResourcePreview::_thread() {
|
||||
preview_mutex->unlock();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
exited = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user