summaryrefslogtreecommitdiffstats
path: root/gmagick-bug78465.patch
blob: c61f9b90c1383447a600b86af32cab31ec88fec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Workaround to https://bugs.php.net/78465

diff --git a/gmagick.c b/gmagick.c
index 27ec8cc..2df8f5e 100644
--- a/gmagick.c
+++ b/gmagick.c
@@ -1722,6 +1722,8 @@ PHP_MINIT_FUNCTION(gmagick)
 PHP_MSHUTDOWN_FUNCTION(gmagick)
 {
 	DestroyMagick();
+	usleep(4242);
+
 	return SUCCESS;
 }
 /* }}} */