Skip to content

Commit

Permalink
Change the way close channel works
Browse files Browse the repository at this point in the history
  • Loading branch information
MilapNaik committed Mar 20, 2024
1 parent 0f17569 commit 94fa701
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/RokuDeploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,17 +224,12 @@ export class RokuDeploy {
}

public async closeChannel(options: CloseChannelOptions) {
// TODO: After 13.0 releases, add check for ECP close-app support, and use that if available
// TODO: After 13.0 releases, add check for ECP close-app support, and use that twice to kill instant resume if available
await this.sendKeyEvent({
...options,
action: 'keypress',
key: 'home'
});
return this.sendKeyEvent({
...options,
action: 'keypress',
key: 'home'
});
}

/**
Expand Down

0 comments on commit 94fa701

Please sign in to comment.