10000 Fixes OSX segfault on unload · davidblewett/rure-python@066954a · GitHub
[go: up one dir, main page]

Skip to content

Commit 066954a

Browse files
Fixes OSX segfault on unload
* Refs rust-lang/rust#28794
1 parent 41cab0e commit 066954a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rure/lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def find_library():
3434
return os.path.join(cur_dir, "{}{}.{}".format(prefix, libname, suffix))
3535

3636

37-
_lib = ffi.dlopen(find_library())
37+
_lib = ffi.dlopen(find_library(), ffi.RTLD_NODELETE)
3838

3939

4040
def checked_call(fn, err, *args):

0 commit comments

Comments
 (0)
0