From: Sandro Santilli Date: Wed, 22 Oct 2014 08:18:33 +0000 (+0000) Subject: Uninstall custom INT signal handler on unload X-Git-Tag: 2.2.0rc1~752 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=577464e442cf63820942195d2ce097ddf0c950cc;p=postgis Uninstall custom INT signal handler on unload NOTE: this is just academic as unloading of module never happens as of PostgreSQL 9.4+ git-svn-id: http://svn.osgeo.org/postgis/trunk@13103 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/postgis_module.c b/postgis/postgis_module.c index c787e39d1..d1d086612 100644 --- a/postgis/postgis_module.c +++ b/postgis/postgis_module.c @@ -107,6 +107,7 @@ void _PG_fini(void) { elog(NOTICE, "Goodbye from PostGIS %s", POSTGIS_VERSION); + pqsignal(SIGINT, coreIntHandler); }