There was an error while loading. Please reload this page.
1 parent ba068a7 commit c88a7b7Copy full SHA for c88a7b7
src/editor/plugins.cpp
@@ -363,7 +363,7 @@ struct CompilerPlugin : AssetCompiler::IPlugin {
363
}
364
365
~CompilerPlugin() {
366
-jobs::wait(subres_signal);
+jobs::wait(&subres_signal);
367
368
369
static const cgltf_animation_channel* getAnimChannel(const cgltf_animation& anim
@@ -605,10 +605,10 @@ struct CompilerPlugin : AssetCompiler::IPlugin {
605
606
cgltf_free(gltf_data);
607
LUMIX_DELETE(editor.getAllocator(), data);
608
-}, &subres_signal, jobs::INVALID_HANDLE, 2);
+}, &subres_signal, 2);
609
610
611
-jobs::SignalHandle subres_signal = jobs::INVALID_HANDLE;
+jobs::Signal subres_signal;
612
StudioApp& app;
613
Array<FileSystem::AsyncHandle> in_progress;
614
};
0 commit comments