ipc/ipdl/test/cxx/PTestCrashCleanup.ipdl

branch
TOR_BUG_3246
changeset 6
8bccb770b82d
equal deleted inserted replaced
-1:000000000000 0:f48a97bb352a
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.
5
6 namespace mozilla {
7 namespace _ipdltest {
8
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__();
14
15 state ALIVE:
16 call DIEDIEDIE goto CRASH;
17 state CRASH:
18 send __delete__;
19 };
20
21 }
22 }

mercurial