ensure tauri event listener is always unsubscribed
previously if a component mounted and then immediately unmounted we may not have received the callback function from tauri this makes it so the promise we receive from tauri is awaited as part of cleanup instead, guaranteeing the unlisten callback is always called (deferring that call until it's available if necessary)main
parent
092fe2a12f
commit
dd7b03297a
Loading…
Reference in New Issue