Skip to content

Commit 4578e59

Browse files
authored
Qfix github connection leak (#9942)
Signed-off-by: Andrey Sobolev <[email protected]>
1 parent 047f97b commit 4578e59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

services/github/pod-github/src/worker.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1793,6 +1793,7 @@ export class GithubWorker implements IntegrationManager {
17931793

17941794
const githubEnabled = (await client.findOne(core.class.PluginConfiguration, { pluginId: githubId }))?.enabled
17951795
if (githubEnabled === false) {
1796+
await client.close()
17961797
return undefined
17971798
}
17981799

0 commit comments

Comments
 (0)