Skip to content

Commit c88a7b7

Browse files
committed
synced with engine
1 parent ba068a7 commit c88a7b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/editor/plugins.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ struct CompilerPlugin : AssetCompiler::IPlugin {
363363
}
364364

365365
~CompilerPlugin() {
366-
jobs::wait(subres_signal);
366+
jobs::wait(&subres_signal);
367367
}
368368

369369
static const cgltf_animation_channel* getAnimChannel(const cgltf_animation& anim
@@ -605,10 +605,10 @@ struct CompilerPlugin : AssetCompiler::IPlugin {
605605

606606
cgltf_free(gltf_data);
607607
LUMIX_DELETE(editor.getAllocator(), data);
608-
}, &subres_signal, jobs::INVALID_HANDLE, 2);
608+
}, &subres_signal, 2);
609609
}
610610

611-
jobs::SignalHandle subres_signal = jobs::INVALID_HANDLE;
611+
jobs::Signal subres_signal;
612612
StudioApp& app;
613613
Array<FileSystem::AsyncHandle> in_progress;
614614
};

0 commit comments

Comments
 (0)