aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/cryptoApi.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-29 18:27:50 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-29 18:27:50 +0200
commit94d111a94533c0c31231642e8ffe4fbd4ce30096 (patch)
tree79c9f8ec3754699f8a135630f1ab6ee9be8019e6 /src/crypto/cryptoApi.ts
parentb5c90d12219ca3a0df173ddf085d2353831a8ef6 (diff)
lint for unused variables, fix query bug detected by this
Diffstat (limited to 'src/crypto/cryptoApi.ts')
-rw-r--r--src/crypto/cryptoApi.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/cryptoApi.ts b/src/crypto/cryptoApi.ts
index b5d7d4fb9..c3c1f508a 100644
--- a/src/crypto/cryptoApi.ts
+++ b/src/crypto/cryptoApi.ts
@@ -100,7 +100,7 @@ export class CryptoApi {
/**
* Start a worker (if not started) and set as busy.
*/
- wake<T>(ws: WorkerState, work: WorkItem): void {
+ wake(ws: WorkerState, work: WorkItem): void {
if (ws.currentWorkItem !== null) {
throw Error("assertion failed");
}
@@ -238,7 +238,7 @@ export class CryptoApi {
continue;
}
- this.wake<T>(ws, workItem);
+ this.wake(ws, workItem);
return;
}