Skip to content

Commit

Permalink
Fix a connection leak at SIGINT. (#759)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimCitus committed Jul 7, 2021
1 parent 3d50d67 commit 4d1943e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bin/pg_autoctl/service_monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ monitor_service_run(Monitor *monitor)
}

pgsql_finish(&(monitor->pgsql));
pgsql_finish(&(monitor->notificationClient));

return true;
}
Expand Down

0 comments on commit 4d1943e

Please sign in to comment.