Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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 }