Skip to content

Commit

Permalink
missed one
Browse files Browse the repository at this point in the history
  • Loading branch information
amylizzle committed Dec 11, 2024
1 parent 51b46fe commit fba2601
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OpenDreamRuntime/DreamThread.cs
Original file line number Diff line number Diff line change
Expand Up @@ -379,10 +379,12 @@ public void PushProcState(ProcState state) {
}

public void PopProcState(bool dispose = true) {
#if TOOLS
if (_current?.TracyZoneId is not null) {
_current.TracyZoneId.Value.Dispose();
_current.TracyZoneId = null;
}
#endif

if (_current?.WaitFor == false) {
_syncCount--;
Expand Down

0 comments on commit fba2601

Please sign in to comment.