| Index: src/mksnapshot.cc
|
| diff --git a/src/mksnapshot.cc b/src/mksnapshot.cc
|
| index a8bf871f1313398be856be2be9600792d7f0bf60..ef0a282a832fa5061af38a5fe991d109045c044e 100644
|
| --- a/src/mksnapshot.cc
|
| +++ b/src/mksnapshot.cc
|
| @@ -393,6 +393,10 @@ int main(int argc, char** argv) {
|
|
|
| isolate->Exit();
|
| isolate->Dispose();
|
| - V8::Dispose();
|
| + // TODO(svenpanne) Alas, we can't cleanly dispose V8 here, because
|
| + // Serializer::code_address_map_ is static (a.k.a. a global variable), and
|
| + // disposing that would involve accessing the Isolate just disposed.
|
| + // code_address_map_ really has to be an instance variable...
|
| + // V8::Dispose();
|
| return 0;
|
| }
|
|
|