forked from platformio/platformio-core
Go over 8010-8100 TCP ports when shutting down PIO Home server
This commit is contained in:
1 parent
c06a018d88
commit
f65ab58c88
1 file changed
+3
-3
@@ -106,12 +106,12 @@ def update_core_packages(only_check=False, silent=False):
|
||||
|
||||
def shutdown_piohome_servers():
|
||||
port = 8010
|
||||
while port < 9000:
|
||||
while port < 8100:
|
||||
try:
|
||||
requests.get("http://127.0.0.1:%d?__shutdown__=1" % port)
|
||||
port += 1
|
||||
except: # pylint: disable=bare-except
|
||||
return
|
||||
pass
|
||||
port += 1
|
||||
|
||||
|
||||
def pioplus_call(args, **kwargs):
|
||||
|
||||
Reference in new issue
Block a user