Skip to content

Commit 4d25951

Browse files
committedFeb 22, 2024·
Automatically remove update-secret-ok event handler
1 parent a06ef44 commit 4d25951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/connection.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ class Connection extends EventEmitter {
366366
newSecret,
367367
reason
368368
});
369-
this.on('update-secret-ok', cb);
369+
this.once('update-secret-ok', cb);
370370
}
371371

372372
// ===

0 commit comments

Comments
 (0)
Please sign in to comment.