feat(tauri): derive Clone for tauri::ExitRequestApi#12710
feat(tauri): derive Clone for tauri::ExitRequestApi#12710lucasfernog merged 1 commit intotauri-apps:devfrom
Clone for tauri::ExitRequestApi#12710Conversation
Package Changes Through 7763d79There are 8 changes which include tauri with minor, tauri-cli with minor, tauri-runtime with minor, tauri-runtime-wry with minor, tauri-utils with minor, @tauri-apps/api with minor, @tauri-apps/cli with minor, tauri-bundler with patch Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
|
Context for reviewers: I asked for this to be a seperate PR because it was weird to me that CloseRequestedApi implemented Clone but ExitRequestedApi did not. Is there a reason i'm missing or was it just an oversight? |
|
both CloseRequestedApi and ExitRequestApi must be used immediately in the event loop runner because the decision handler checks if the action was prevented immediately - meaning you can't move it to a separate thread and prevent later. |
follow #12701 (comment)