Skip to content

Commit c2fecc1

Browse files
authored
gnirehtet is under Android (#2229)
1 parent 1f8660d commit c2fecc1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/core/engine/index.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export class Engine {
9393
await android._init();
9494
this.android = android;
9595

96-
if (options.gnirehtet === true) {
96+
if (options.android.gnirehtet === true) {
9797
this.gnirehtet = new Gnirehtet(options);
9898
await this.gnirehtet.start();
9999
}
@@ -520,7 +520,11 @@ export class Engine {
520520
}
521521
}
522522

523-
if (options.gnirehtet === true && this.gnirehtet) {
523+
if (
524+
options.android &&
525+
options.android.gnirehtett === true &&
526+
this.gnirehtet
527+
) {
524528
await this.gnirehtet.stop();
525529
}
526530

0 commit comments

Comments
 (0)