proper closing, metadata file locations moved
This commit is contained in:
@@ -63,6 +63,8 @@ export default class PythonSubprocessManager {
|
||||
|
||||
stop(): void {
|
||||
if (this.process) {
|
||||
// for some reason, process.kill() doens't work well with flask. todo: investigate further
|
||||
// spawn('taskkill', ['/pid', `${this.process.pid}`, '/f', '/t']);
|
||||
this.process.kill();
|
||||
this.process = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user