@yolo-croket-dev/core 1.7.36 → 1.7.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -170,7 +170,7 @@ let RPCInterceptor = RPCInterceptor_1 = class RPCInterceptor {
|
|
|
170
170
|
correlationId,
|
|
171
171
|
isMessageAck: false,
|
|
172
172
|
};
|
|
173
|
-
|
|
173
|
+
let abortController = new AbortController();
|
|
174
174
|
/** consume 메시지 전부 cancel */
|
|
175
175
|
if (this.gracefulShutdownService.isApplicationExit) {
|
|
176
176
|
msaLogger.debug('RPCInterceptor isApplicationExit called', { traceId: 'IS_APPLICATION_EXIT' });
|
|
@@ -361,7 +361,11 @@ let RPCInterceptor = RPCInterceptor_1 = class RPCInterceptor {
|
|
|
361
361
|
error: localErrorProcessor,
|
|
362
362
|
}), (0, operators_1.finalize)(() => {
|
|
363
363
|
this.gracefulShutdownService.popActiveInterceptors(execInterceptor);
|
|
364
|
+
if (abortController.signal) {
|
|
365
|
+
abortController.signal.removeEventListener('abort', () => { });
|
|
366
|
+
}
|
|
364
367
|
functions_1.AbortContext.endContext();
|
|
368
|
+
abortController = null;
|
|
365
369
|
return new rxjs_1.Observable();
|
|
366
370
|
})));
|
|
367
371
|
}
|