[PlayGo] Expose runtime state reset
Co-authored-by: Sekai <140012992+SekaixX@users.noreply.github.com>
This commit is contained in:
parent
7c08757173
commit
78792d7a5a
|
|
@ -841,7 +841,7 @@ public static class PlayGoExports
|
|||
}
|
||||
}
|
||||
|
||||
internal static void ResetForTests()
|
||||
public static void ResetRuntimeState()
|
||||
{
|
||||
lock (_stateGate)
|
||||
{
|
||||
|
|
@ -856,6 +856,8 @@ public static class PlayGoExports
|
|||
Interlocked.Exchange(ref _locusTraceDiagnostics, 0);
|
||||
}
|
||||
|
||||
internal static void ResetForTests() => ResetRuntimeState();
|
||||
|
||||
private enum PlayGoChunkIdKnowledge
|
||||
{
|
||||
Unknown,
|
||||
|
|
|
|||
Loading…
Reference in New Issue