From 28b3c4044af06fdc32c9c85bf8381b5058306427 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Sun, 4 May 2025 19:06:10 -0400 Subject: [Rust] Simplify enterprise initialization We don't need to introduce extra global state when the goal is to not release floating licenses in shutdown. --- rust/tests/initialization.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rust/tests/initialization.rs') diff --git a/rust/tests/initialization.rs b/rust/tests/initialization.rs index 9847a734..7ec52598 100644 --- a/rust/tests/initialization.rs +++ b/rust/tests/initialization.rs @@ -11,8 +11,8 @@ use binaryninja::set_license; #[test] fn test_license_validation() { - // Release floating license if we already have one, otherwise the failure will succeed. - release_license(); + // Release the floating license if we already have one, otherwise the failure will succeed. + release_license(true); // Make sure we properly report invalid license. let options = InitializationOptions::default() .with_license_checkout(false) -- cgit v1.3.1