不要怂,就是干,撸起袖子干!

Commit 1ad7a405 by wjh000123 Committed by Sushant

fix(abstract/connection-manager/replication): return promise from destroy (#8519)

1 parent 3c19e974
Showing with 1 additions and 1 deletions
...@@ -169,7 +169,7 @@ class ConnectionManager { ...@@ -169,7 +169,7 @@ class ConnectionManager {
return Promise.resolve(); return Promise.resolve();
} }
this.pool[mayBeConnection.queryType].destroy(mayBeConnection) return this.pool[mayBeConnection.queryType].destroy(mayBeConnection)
.tap(() => { debug('connection destroy'); }); .tap(() => { debug('connection destroy'); });
}, },
clear: () => { clear: () => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!