File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -70,14 +70,15 @@ auto FEcsactModule::UnloadEcsactRuntime() -> void {
7070 UE_LOG (Ecsact, Log, TEXT (" Unloading ecsact runtime" ));
7171
7272 StopRunner ();
73- if (EcsactRuntimeHandle) {
74- FPlatformProcess::FreeDllHandle (EcsactRuntimeHandle);
75- EcsactRuntimeHandle = nullptr ;
76- }
7773
7874#define RESET_ECSACT_FN (fn, UNUSED_PARAM ) fn = nullptr
7975 FOR_EACH_ECSACT_API_FN (RESET_ECSACT_FN);
8076#undef RESET_ECSACT_FN
77+
78+ if (EcsactRuntimeHandle) {
79+ FPlatformProcess::FreeDllHandle (EcsactRuntimeHandle);
80+ EcsactRuntimeHandle = nullptr ;
81+ }
8182}
8283
8384auto FEcsactModule::StartupModule () -> void {
@@ -156,7 +157,6 @@ auto FEcsactModule::StartRunner() -> void {
156157auto FEcsactModule::StopRunner () -> void {
157158 if (Runner != nullptr ) {
158159 Runner->RemoveFromRoot ();
159- Runner->ConditionalBeginDestroy ();
160160 Runner = nullptr ;
161161 }
162162}
You can’t perform that action at this time.
0 commit comments