You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have an app instance which unregisters itself, and then calls AppInstance.findOrRegisterKey it "succesfully" registers, but then the Key is not valid (it returns ""). This means that a subsequent process will come along and call AppInstance.findOrRegiserKey, which will end up returning null
Steps to reproduce the bug
call AppInstance.FindOrRegisterKey("myKey")`
call AppInstance.GetCurrent().UnregisterKey
call AppInstance.FindOrRegisterKey("myKey")
launch second instance of application, notice that the call from step (1) will return null
Expected behavior
FindOrRegisterKey will return the proper instance
Screenshots
No response
NuGet package version
Windows App SDK 1.5.3: 1.5.240428000
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
If you have an app instance which unregisters itself, and then calls
AppInstance.findOrRegisterKey
it "succesfully" registers, but then the Key is not valid (it returns ""). This means that a subsequent process will come along and callAppInstance.findOrRegiserKey
, which will end up returningnull
Steps to reproduce the bug
Expected behavior
FindOrRegisterKey
will return the proper instanceScreenshots
No response
NuGet package version
Windows App SDK 1.5.3: 1.5.240428000
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: