[PlayGo] Expose runtime state reset

Co-authored-by: Sekai <140012992+SekaixX@users.noreply.github.com>
This commit is contained in:
ParantezTech 2026-10-08 17:30:09 +03:00
parent 7c08757173
commit 78792d7a5a
1 changed files with 3 additions and 1 deletions

View File

@ -841,7 +841,7 @@ public static class PlayGoExports
} }
} }
internal static void ResetForTests() public static void ResetRuntimeState()
{ {
lock (_stateGate) lock (_stateGate)
{ {
@ -856,6 +856,8 @@ public static class PlayGoExports
Interlocked.Exchange(ref _locusTraceDiagnostics, 0); Interlocked.Exchange(ref _locusTraceDiagnostics, 0);
} }
internal static void ResetForTests() => ResetRuntimeState();
private enum PlayGoChunkIdKnowledge private enum PlayGoChunkIdKnowledge
{ {
Unknown, Unknown,