Skip to content

Commit 82c671b

Browse files
committed
Fix accidental overwrite of domain field in NetFx
1 parent 8360ed6 commit 82c671b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clr_loader/netfx.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def __init__(
1818
else:
1919
config_file_s = ffi.NULL
2020

21-
self._domain = domain
21+
self._domain_name = domain
2222
self._config_file = config_file
2323
self._domain = _FW.pyclr_create_appdomain(domain or ffi.NULL, config_file_s)
2424

@@ -29,7 +29,7 @@ def info(self) -> RuntimeInfo:
2929
initialized=True,
3030
shutdown=_FW is None,
3131
properties=dict(
32-
domain=self._domain or "", config_file=str(self._config_file)
32+
domain=self._domain_name or "", config_file=str(self._config_file)
3333
),
3434
)
3535

0 commit comments

Comments
 (0)