Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close client in CDP is not async
Browse files Browse the repository at this point in the history
molant authored and alrra committed Apr 27, 2017
1 parent fd054b7 commit ba5e625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/collectors/cdp/cdp.ts
Original file line number Diff line number Diff line change
@@ -436,7 +436,7 @@ class CDPCollector implements ICollector {
}

try {
await this._client.close();
this._client.close();
} catch (e) {
debug(`Couldn't close the client properly`);
}

0 comments on commit ba5e625

Please sign in to comment.