Skip to content

Conversation

@aliking
Copy link

@aliking aliking commented May 23, 2018

I was seeing a bug:
If I have multiple BrowserStackLocal tunnels running with a localIdentifier and stop any one of them, all tunnels get closed.

This pull request adds a test for that behavior, and adds a localIdentifier to the stop command.

As part of the testing, I also changed the functioning of Local#isRunning. This previously returned nil if the process had been stopped (@pid was nil) It now returns false.

This passes tests on my machine, but there may be cases that are not covered on other OS or ruby version.

aliking added 7 commits May 22, 2018 17:51
Without this, stop will close all instances of BrowserStackLocal
Also updates Local#isRunning to return false in the case that the process has been gracefully stopped
@aliking aliking closed this Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant