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

Commit 7cbf99f

Browse files
authored
Merge pull request #206 from UnityTech/fix_warning
Fix warning.
2 parents 6cd480a + f0b6f73 commit 7cbf99f

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)