summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2024-07-22 18:11:31 -0400
committerGlenn Smith <glenn@vector35.com>2024-07-24 18:03:39 -0400
commit7847487346443801361896051915394124744408 (patch)
tree218e093636da36382252df6e2e537b91bfd1f95b /python
parent8025322857302744617508639990950630312249 (diff)
Release floating license in shutdown()
Diffstat (limited to 'python')
-rw-r--r--python/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/__init__.py b/python/__init__.py
index 3104e14a..1293561d 100644
--- a/python/__init__.py
+++ b/python/__init__.py
@@ -99,6 +99,11 @@ def shutdown():
.. note:: This will be called automatically on script exit if you import the binaryninja module.
"""
+
+ # Release license if we have one
+ global _enterprise_license_checkout
+ _enterprise_license_checkout = None
+
core.BNShutdown()