File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import { ErrorHandler } from "../../common/lib/error_handler";
1818import { ClientWrapper } from "../../common/lib/client_wrapper" ;
1919import { logger } from "../../common/logutils" ;
2020import { Messages } from "../../common/lib/utils/messages" ;
21- import { error } from "winston" ;
2221
2322export abstract class AbstractPgErrorHandler implements ErrorHandler {
2423 protected unexpectedError : Error | null = null ;
Original file line number Diff line number Diff line change @@ -171,6 +171,7 @@ class BaseAwsPgClient extends AwsClient implements PGClient {
171171 this . properties ,
172172 "end" ,
173173 ( ) => {
174+ this . pluginService . removeErrorListener ( this . targetClient ) ;
174175 const res = this . targetClient ! . end ( ) ;
175176 this . targetClient = undefined ;
176177 this . isConnected = false ;
You can’t perform that action at this time.
0 commit comments