Commit 3108ebd
committed
Refactor process handling in lib.rs for improved clarity
- Simplified the process handling logic in the `run` function by restructuring the conditional statements for better readability.
- Enhanced the cleanup logic during app exit to ensure consistent handling of the backend process termination.
These changes improve the maintainability and clarity of the code in the Tauri application.1 parent 2d7f682 commit 3108ebd
1 file changed
+12
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1626 | 1626 | | |
1627 | 1627 | | |
1628 | 1628 | | |
1629 | | - | |
1630 | | - | |
1631 | | - | |
1632 | | - | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
1633 | 1633 | | |
1634 | 1634 | | |
1635 | 1635 | | |
| |||
1646 | 1646 | | |
1647 | 1647 | | |
1648 | 1648 | | |
1649 | | - | |
1650 | | - | |
1651 | | - | |
1652 | | - | |
1653 | | - | |
1654 | | - | |
1655 | | - | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
1656 | 1657 | | |
1657 | 1658 | | |
1658 | 1659 | | |
| |||
0 commit comments