summaryrefslogtreecommitdiff
path: root/rust/src/headless.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/headless.rs')
-rw-r--r--rust/src/headless.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/headless.rs b/rust/src/headless.rs
index 3ea96947..32286331 100644
--- a/rust/src/headless.rs
+++ b/rust/src/headless.rs
@@ -71,7 +71,7 @@ pub fn init() -> Result<(), InitializationError> {
///
/// ⚠️ Important! Must be called at the end of scripts. ⚠️
pub fn shutdown() {
- match crate::product().as_str() {
+ match crate::product().to_string().as_str() {
"Binary Ninja Enterprise Client" | "Binary Ninja Ultimate" => {
if NEED_LICENSE_RELEASE.load(SeqCst) {
enterprise::release_license()