Jarvis icon indicating copy to clipboard operation
Jarvis copied to clipboard

Response for security mode is getting invoked twice when mixed with offline communicator

Open thevickypedia opened this issue 1 year ago • 0 comments

Describe the bug

  • Enable and disable security mode via offline communicator or voice commands - Works as it should
  • Enable via offline communicator but disable via voice command: - There will be two processes calling the listener, so both will trigger a response for "disable security mode"
  • Enable via voice command but disable via offline communicator: - Enabled via voice command will run security mode in MainProcess, disabling it from offline communicator will kill it, but the MainProcess says "Security mode was never enabled" as the state was changed by offline processor.

To Reproduce Steps to reproduce the behavior:

  • Follow steps as described in the description

Expected behavior Both the processes should be aware of the task performed by the other.

Desktop (please complete the following information):

thevickypedia avatar Oct 09 '22 19:10 thevickypedia