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.

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

mercurial