Skip to content

[Question] Call app.quit() in Electron but process sticks around #12189

@luke-webdev

Description

@luke-webdev

We are testing our Electron app's exit functionality.

It seems when we call app.quit in Electron, the UI closes, but the electron processes sticks around.

We are wondering if we need to handle the Electron close event on the Playwright side and close the application explicitly as well.

Edit: Trying to handle the close event with electronApplication.on('close', callback) when app.quit() is called does not trigger the callback.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions