Skip to content

Commit df48aa0

Browse files
committed
Fix release for Mono
1 parent f4262b2 commit df48aa0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clr_loader/mono.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def initialize(path=None, gc=None):
9090

9191

9292
def _release():
93+
global _MONO, _ROOT_DOMAIN
9394
if _ROOT_DOMAIN is not None and _MONO is not None:
9495
_MONO.mono_jit_cleanup(_ROOT_DOMAIN)
9596
_MONO = None

0 commit comments

Comments
 (0)