Bonsoir icon indicating copy to clipboard operation
Bonsoir copied to clipboard

allow `BonsoirEvent` to re-start again even after stopping it

Open Alvish0407 opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. Yes. Once after closing the BonsoirDiscovery or BonsoirBroadcast, we can't start it again. It throws You should not try to start a stopped action.

Describe the solution you'd like Allow re-starting the service.

Describe alternatives you've considered N/A

Additional context assert works in debug mode only. What happens in release mode ? does it work or not ?

Alvish0407 avatar Nov 08 '24 08:11 Alvish0407

Just create a new BonsoirDiscovery / BonsoirBroadcast instance :wink:

Skyost avatar Nov 14 '24 20:11 Skyost