From: Andre Noll Date: Tue, 3 Feb 2009 20:41:08 +0000 (+0100) Subject: Call shm(destroy) on the mmd shared memory area right after creating it. X-Git-Tag: v0.3.4~71 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=df51fc92275195f2cbcf95fff2cb2b0fb21433f4;hp=df51fc92275195f2cbcf95fff2cb2b0fb21433f4 Call shm(destroy) on the mmd shared memory area right after creating it. It will only be destroyed when the last reference is gone, which is when para_server exits. This allows to get rid of a global variable. Moreover, the shared memory area will be destroyed even in case para_server crashes. ---