Bug 770805 - Close the IPC channel safely when we discover that a Flash process has...
commit05b9752a11d98fc04d9f46089ce29d4b9ae77adc
authorBenjamin Smedberg <benjamin@smedbergs.us>
Thu, 5 Jul 2012 18:48:40 +0000 (5 14:48 -0400)
committerBenjamin Smedberg <benjamin@smedbergs.us>
Thu, 5 Jul 2012 18:48:40 +0000 (5 14:48 -0400)
treea3d3fb9ce74941a5c8ebde2a9b2271dfc0599295
parent626a277dd3fcd9595afdc4079c6cbeaada95eb32
Bug 770805 - Close the IPC channel safely when we discover that a Flash process has crashed; don't call Close() directly, because PluginModuleParent assumes that a normal shutdown only occurs from PluginModuleParent::NP_Shutdown. Instead, follow a similar codepath to the hang timeout which calls AsyncChannel::SynchronouslyClose and then sets a specific error code, r=cjones
dom/plugins/ipc/PluginModuleParent.cpp
ipc/glue/AsyncChannel.cpp
ipc/glue/AsyncChannel.h