File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
src/Components/Web.JS/src/Platform/Mono Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -556,9 +556,7 @@ class MonoHeapLock implements HeapLock {
556
556
throw new Error ( 'Trying to release a lock which isn\'t current' ) ;
557
557
}
558
558
559
- if ( typeof MONO_INTERNAL !== 'undefined' && typeof MONO_INTERNAL . mono_wasm_gc_unlock === 'function' ) {
560
- MONO_INTERNAL . mono_wasm_gc_unlock ( ) ;
561
- }
559
+ MONO_INTERNAL . mono_wasm_gc_unlock ( ) ;
562
560
563
561
currentHeapLock = null ;
564
562
@@ -574,9 +572,7 @@ class MonoHeapLock implements HeapLock {
574
572
}
575
573
576
574
static create ( ) : MonoHeapLock {
577
- if ( typeof MONO_INTERNAL !== 'undefined' && typeof MONO_INTERNAL . mono_wasm_gc_lock === 'function' ) {
578
- MONO_INTERNAL . mono_wasm_gc_lock ( ) ;
579
- }
575
+ MONO_INTERNAL . mono_wasm_gc_lock ( ) ;
580
576
return new MonoHeapLock ( ) ;
581
577
}
582
578
}
You can’t perform that action at this time.
0 commit comments