Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit f0b6f73

Browse files
author
Yuncong Zhang
committed
Fix warning.
1 parent 6cd480a commit f0b6f73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Runtime/async/coroutine.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,12 +240,13 @@ class BackgroundCallbacks : IDisposable {
240240
public static BackgroundCallbacks getInstance() {
241241
#if UNITY_WEBGL
242242
return null;
243-
#endif
243+
#else
244244
if (_instance == null) {
245245
_instance = new BackgroundCallbacks(2);
246246
}
247247

248248
return _instance;
249+
#endif
249250
}
250251

251252
readonly LinkedList<_CallbackNode> _callbackList;

0 commit comments

Comments
 (0)