-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a device search function and improve the orderly shutdown
- Add the 'searchDevices' function to initialize and search for devices - Implement the 'stopAllDevices' function to stop all devices and delete device lists - Update the 'consoleHandler' to use 'searchDevices' - Integrate 'stopAllDevices' into 'signalHandler' for a more comprehensive shutdown process - Add CLI flag '--search' to allow users to search for devices via the command line - Ensure an orderly shutdown on SIGINT by stopping all devices These changes improve the application by providing a dedicated device search function and ensuring a thorough cleanup on shutdown.
- Loading branch information
arkadiusz
committed
Jul 26, 2024
1 parent
3920485
commit 391b9da
Showing
3 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters