ipc/ipdl/test/cxx/PTestCrashCleanup.ipdl

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 // See bug 538586: if the top-level protocol's actor is deleted before
michael@0 2 // the "connection error" notification comes in from the IO thread,
michael@0 3 // IPDL teardown never occurs, even if Channel::Close() is called
michael@0 4 // after the error.
michael@0 5
michael@0 6 namespace mozilla {
michael@0 7 namespace _ipdltest {
michael@0 8
michael@0 9 // NB: needs to be RPC so that the parent blocks on the child's crash.
michael@0 10 intr protocol PTestCrashCleanup {
michael@0 11 child:
michael@0 12 intr DIEDIEDIE();
michael@0 13 __delete__();
michael@0 14
michael@0 15 state ALIVE:
michael@0 16 call DIEDIEDIE goto CRASH;
michael@0 17 state CRASH:
michael@0 18 send __delete__;
michael@0 19 };
michael@0 20
michael@0 21 }
michael@0 22 }

mercurial