Skip to content

Commit

Permalink
Fixes OSX segfault on unload
Browse files Browse the repository at this point in the history
  • Loading branch information
aroden-crowdstrike committed Dec 4, 2017
1 parent 41cab0e commit 066954a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rure/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def find_library():
return os.path.join(cur_dir, "{}{}.{}".format(prefix, libname, suffix))


_lib = ffi.dlopen(find_library())
_lib = ffi.dlopen(find_library(), ffi.RTLD_NODELETE)


def checked_call(fn, err, *args):
Expand Down

0 comments on commit 066954a

Please sign in to comment.