We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4030b3a commit 889eb07Copy full SHA for 889eb07
R/chromote_session.R
@@ -86,13 +86,14 @@ ChromoteSession <- R6Class(
86
})
87
88
# When a target crashes, raise a warning.
89
- # The session cannot be closed because no session id is returned by the
90
- # Inspector.targetCrashed event
91
if (!is.null(self$Inspector$targetCrashed)) {
92
p <- p$
93
then(function(value) {
94
self$Inspector$targetCrashed(timeout_ = NULL, wait_ = FALSE, function(value) {
95
warning("Chromote has received a Inspector.targetCrashed event. This means that the ChromoteSession has probably crashed.")
+ # Even if no targetId nor sessionId is returned by Inspector.targetCashed
+ # mark the session as closed. This will close all sessions..
96
+ self$mark_closed()
97
98
99
}
0 commit comments