Skip to content

Commit e7fca5f

Browse files
[Editor] Fix physics not being shut down properly;
1 parent 623de8d commit e7fca5f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Engine/Staple.Editor/StapleEditor.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,6 +1309,8 @@ private void NormalEditorLoop()
13091309

13101310
SubsystemManager.instance.Destroy();
13111311

1312+
Physics3D.Instance.Shutdown();
1313+
13121314
ResourceManager.instance.Destroy(ResourceManager.DestroyMode.Final);
13131315
};
13141316

0 commit comments

Comments
 (0)