Skip to content

Commit c52187d

Browse files
committed
feat: nullify passport on quit
1 parent 255efc3 commit c52187d

File tree

1 file changed

+1
-0
lines changed
  • src/Packages/Passport/Runtime/Scripts/Public

1 file changed

+1
-0
lines changed

src/Packages/Passport/Runtime/Scripts/Public/Passport.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ private void OnQuit()
132132
// as the child engine process would still be alive
133133
Debug.Log($"{TAG} Quitting the Player");
134134
((WebBrowserClient)webBrowserClient).Dispose();
135+
Instance = null;
135136
}
136137
#endif
137138

0 commit comments

Comments
 (0)