Skip to content

Commit cbe94c3

Browse files
committed
xvfb: use isRunning method in stop
1 parent 854a909 commit cbe94c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/xvfb.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export default class Xvfb {
110110
}
111111

112112
static stop() {
113-
if (!Xvfb.process || Xvfb.closed) {
113+
if (!Xvfb.isRunning()) {
114114
return
115115
}
116116

0 commit comments

Comments
 (0)