Skip to content

When Remote Chrome crashes  #70

@izachwei

Description

@izachwei

Sometimes Chrome crashes, devtools client just hangs waiting forever for a response that will never come , CDT will use CountdownLaunch to wait for a response as soon as the Chrome command is sent, which is indefinitely by default.

I tried to look at the code and found that there are two ways to solve this problem:

  • Modify the timeout period for waiting parameters.

private static final String READ_TIMEOUT_PROPERTY = "com.github.kklisura.cdt.services.config.readTimeout";

  • I recommend clearing all socket connections waiting for a response in the hook method of onClose

I would like to propose a PR to accomplish this function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions