Fixed an issue when quitting from PlatformIO IDE does not shutdown PIO Home server

This commit is contained in:
Ivan Kravets committed 2020-02-18 00:03:23 +02:00
1 parent b8312d545c
commit 9fd0943b75
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -6,6 +6,11 @@ Release Notes
PlatformIO Core 4
-----------------
4.2.2 (2020-??-??)
~~~~~~~~~~~~~~~~~~
* Fixed an issue when quitting from PlatformIO IDE does not shutdown PIO Home server
4.2.1 (2020-02-17)
~~~~~~~~~~~~~~~~~~
+1 -1
View File
@@ -18,7 +18,7 @@ from twisted.web import static # pylint: disable=import-error
class WebRoot(static.File):
def render_GET(self, request):
if request.args.get("__shutdown__", False):
if request.args.get(b"__shutdown__", False):
reactor.stop()
return "Server has been stopped"