We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4aedf0 commit 9fea180Copy full SHA for 9fea180
src/plugin.js
@@ -133,8 +133,10 @@ const _registerFeatureProvider = (envFeatureToggles) => {
133
};
134
135
const _registerClientCloseOnShutdown = () => {
136
- cds.on("shutdown", async () => {
137
- await Promise.allSettled([closeMainClient(), closeSubscriberClient()]);
+ cds.on("shutdown", () => {
+ // NOTE: we just want to kick off the closing in shutdown
138
+ closeMainClient();
139
+ closeSubscriberClient();
140
});
141
142
0 commit comments