dioxus
dioxus copied to clipboard
dx serve does not stop after desktop app is closed
Problem
After closing a desktop app dx serve stops only if pressed ctrl+c
Steps To Reproduce
Steps to reproduce the behavior:
- Create a desktop app through cli with tailwindcss true and router false
- Start the app with
dx serve - Close the app's window
- See shell still being used by dx
Expected behavior
dx should stop
Screenshots
https://github.com/DioxusLabs/dioxus/assets/30232564/90745630-6a65-4f0a-bd74-2383d503a9be
Environment:
- Dioxus version: dioxus = { version = "0.5.1", features = ["desktop"] }
- Rust version: rustc 1.77.1 (7cf61ebde 2024-03-27)
- OS info: win11
- App platform: desktop
Questionnaire
- [ ] I'm interested in fixing this myself but don't know where to start
- [ ] I would like to fix and I have a solution
- [x] I don't have time to fix this right now, but maybe later