]> git.donarmstrong.com Git - infobot.git/commitdiff
forgot shmFlush() in closeSHM()
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 22 Sep 2000 11:55:37 +0000 (11:55 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 22 Sep 2000 11:55:37 +0000 (11:55 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@125 c11ca15a-4712-0410-83d8-924469b57eb5

src/Shm.pl

index b978a3af22e633db9985f77a2584ec01a0527f82..713152ca95bb66115d474d25addec86ba78b0c5b 100644 (file)
@@ -25,6 +25,7 @@ sub closeSHM {
     my ($key) = @_;
     my $IPC_RMID = 0;
 
+    &shmFlush();
     &status("Closed shared memory (shm) key: [$key]");
     return shmctl($key, $IPC_RMID, 0);
 }