From 746bdfab0002a7b5d137c1691939eb625d623eb7 Mon Sep 17 00:00:00 2001 From: Colton Hurst Date: Wed, 18 Jun 2025 11:39:26 -0400 Subject: [PATCH] PM-19255: Fix COM --- .../windows_plugin_authenticator/src/pluginauthenticator.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/desktop/desktop_native/windows_plugin_authenticator/src/pluginauthenticator.rs b/apps/desktop/desktop_native/windows_plugin_authenticator/src/pluginauthenticator.rs index d33fa33ca97..40dacec2533 100644 --- a/apps/desktop/desktop_native/windows_plugin_authenticator/src/pluginauthenticator.rs +++ b/apps/desktop/desktop_native/windows_plugin_authenticator/src/pluginauthenticator.rs @@ -116,13 +116,11 @@ impl IClassFactory_Impl for Factory_Impl { iid: *const GUID, object: *mut *mut core::ffi::c_void, ) -> Result<()> { - assert!(outer.is_null()); - let unknown: IInspectable = PluginAuthenticatorComObject.into(); + let unknown: IInspectable = PluginAuthenticatorComObject.into(); // TODO: IUnknown ? unsafe { unknown.query(iid, object).ok() } } fn LockServer(&self, lock: BOOL) -> Result<()> { - assert!(lock.as_bool()); Ok(()) } }