mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Go over 8010-8100 TCP ports when shutting down PIO Home server
This commit is contained in:
@ -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