| Index: src/shared/ppapi_proxy/browser_ppp.cc
|
| ===================================================================
|
| --- src/shared/ppapi_proxy/browser_ppp.cc (revision 3312)
|
| +++ src/shared/ppapi_proxy/browser_ppp.cc (working copy)
|
| @@ -55,6 +55,8 @@
|
| // Export the service on the channel.
|
| channel_->server = service;
|
| char* service_string = const_cast<char*>(service->service_string);
|
| + // Remember the module_id associated with channel_;
|
| + SetModuleIdForSrpcChannel(channel_, module_id);
|
| // Do the RPC.
|
| int32_t browser_pid = static_cast<int32_t>(GETPID());
|
| int32_t success;
|
| @@ -79,6 +81,8 @@
|
| PppRpcClient::PPP_ShutdownModule(channel_);
|
| // Clean up the upcall thread for the module.
|
| NaClThreadJoin(&upcall_thread_);
|
| + // Remove the association between the channel and module id.
|
| + UnsetModuleIdForSrpcChannel(channel_);
|
| }
|
|
|
| const void* BrowserPpp::GetInterface(const char* interface_name) {
|
|
|