Skip to content

Sending app.stop/SIGTERM doesn't close browser #300

Closed
@DanTup

Description

@DanTup

This is sort of the opposite of #271. Using 2.0.0-alpha.4, when I send a stop (because the user clicked Stop on the debug toolbar), the browser remains open.

The debugger first sends app.stop, waits for the response, then it sends SIGINT then waits for the process to close. The process did close fairly quick, but it didn't close the browser.

[17:54:56 GMT+0100 (BST)] [FlutterRun] [Info] ==> [{"id":"2","method":"app.stop","params":{"appId":"JfRg0s35A+W7sj0LuNy+DA=="}}]
[17:54:56 GMT+0100 (BST)] [FlutterRun] [Info] <== [{"id":"2","result":true}]
[17:54:56 GMT+0100 (BST)] [Observatory] [Info] TERM: Going to terminate with SIGINT...
[17:54:56 GMT+0100 (BST)] [Observatory] [Info] TERM: Terminating related process 63686 with SIGINT...
[17:54:56 GMT+0100 (BST)] [Observatory] [Info] TERM: Terminating main process with SIGINT...
[17:54:56 GMT+0100 (BST)] [Observatory] [Info] TERM: Waiting for process to finish...
[17:54:56 GMT+0100 (BST)] [Observatory] [Info] Observatory connection closed: 1006 ()
[17:54:56 GMT+0100 (BST)] [Observatory] [Info] Process exited (sigint)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions