| Index: ppapi/tests/testing_instance.cc
|
| diff --git a/ppapi/tests/testing_instance.cc b/ppapi/tests/testing_instance.cc
|
| index f19292f271fa1d6ac4ec88036320b89434ee9966..ec8c1a4a93fa8e1489562ceb5c6ef0d845374d27 100644
|
| --- a/ppapi/tests/testing_instance.cc
|
| +++ b/ppapi/tests/testing_instance.cc
|
| @@ -32,7 +32,8 @@ TestingInstance::TestingInstance(PP_Instance instance)
|
| executed_tests_(false),
|
| nacl_mode_(false),
|
| ssl_server_port_(-1),
|
| - websocket_port_(-1) {
|
| + websocket_port_(-1),
|
| + remove_plugin_(true) {
|
| callback_factory_.Initialize(this);
|
| }
|
|
|
| @@ -168,7 +169,8 @@ void TestingInstance::ExecuteTests(int32_t unused) {
|
|
|
| // Declare we're done by setting a cookie to either "PASS" or the errors.
|
| ReportProgress(errors_.empty() ? "PASS" : errors_);
|
| - SendTestCommand("DidExecuteTests");
|
| + if (remove_plugin_)
|
| + SendTestCommand("DidExecuteTests");
|
| // Note, DidExecuteTests unloads the plugin. We can't really do anthing after
|
| // this point.
|
| }
|
|
|