We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e5c8fc commit a1d1e92Copy full SHA for a1d1e92
Assets/PortableConsole/Dependencies/Scripts/PortableConsole.cs
@@ -78,6 +78,13 @@ private void OnDisable()
78
79
UpdateLogCount();
80
}
81
+
82
+ private void OnDestroy()
83
+ {
84
+ //make sure that logger is detached from Unity's event
85
+ Application.logMessageReceived -= OnLogMessageReceived;
86
+ }
87
88
//------------------------------
89
// public methods
90
README.md
@@ -14,4 +14,4 @@ Source available via GitHub:
14
https://github.com/Ursanon/PortableConsole
15
16
--------------------
17
-PortableConsole: Version 1.0.0
+PortableConsole: Version 1.0.2
0 commit comments