feat(command): implement Drop for CommandChild with kill_on_drop option#3149
feat(command): implement Drop for CommandChild with kill_on_drop option#3149Tunglies wants to merge 1 commit into
Conversation
|
CC @Legend-Master and @FabianLars |
Package Changes Through 0851d5bThere are 21 changes which include dialog-js with minor, dialog with minor, log with minor, log-js with minor, localhost with patch, shell with minor, shell-js with minor, barcode-scanner with patch, barcode-scanner-js with patch, deep-link with patch, deep-link-js with patch, http with patch, http-js with patch, nfc with patch, nfc-js with patch, updater with minor, updater-js with minor, upload with minor, upload-js with minor, websocket with patch, websocket-js 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 |
|
I don't mind adding this but it doesn't really sound like something related to the issues/PRs you linked? |
|
If more complex logic is introduced in the future, using drop(command) will make it easier to extend the data structures. No more external system tool need invoked. |
Related: #1332, tauri-apps/tauri#14443 tauri-apps/tauri#14360
Not totally resolved for these.
Simplfy impl Drop for CommandChild, only takes effect on tauri-plugin-shell, whether if it is sidecar or normal command. Taks advantage of rust's liftime control. Before the impl, drop has no any operation. Has no any additional external tool usage or invoke helper program. Competiable with tauri dev.
Usage: