]> granicus.if.org Git - postgis/commitdiff
Uninstall custom INT signal handler on unload
authorSandro Santilli <strk@keybit.net>
Wed, 22 Oct 2014 08:18:33 +0000 (08:18 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 22 Oct 2014 08:18:33 +0000 (08:18 +0000)
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

postgis/postgis_module.c

index c787e39d1ba8322cdcb2e54c2f86dc05fbd1eb0a..d1d086612b919e2ed6819c8f0f0f87170fe31c56 100644 (file)
@@ -107,6 +107,7 @@ void
 _PG_fini(void)
 {
   elog(NOTICE, "Goodbye from PostGIS %s", POSTGIS_VERSION);
+  pqsignal(SIGINT, coreIntHandler);
 }