Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(450)

Unified Diff: src/isolate.cc

Issue 6347005: [Isolates] Fix memory leaks in Isolate and Logger. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/isolates
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/log.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index ce2ff4d720310e952451e309645a1a585e2b2aa8..49b005ab388c292515aa37f8a18b90c4137c63a2 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -499,6 +499,11 @@ Isolate::~Isolate() {
delete cpu_features_;
cpu_features_ = NULL;
+ delete handle_scope_implementer_;
+ handle_scope_implementer_ = NULL;
+ delete break_access_;
+ break_access_ = NULL;
+
delete compilation_cache_;
compilation_cache_ = NULL;
delete bootstrapper_;
@@ -585,11 +590,6 @@ bool Isolate::PreInit() {
regexp_stack_ = new RegExpStack();
regexp_stack_->isolate_ = this;
-#ifdef ENABLE_DEBUGGER_SUPPORT
- debugger_ = new Debugger();
- debugger_->isolate_ = this;
-#endif
-
#ifdef ENABLE_LOGGING_AND_PROFILING
producer_heap_profile_ = new ProducerHeapProfile();
producer_heap_profile_->isolate_ = this;
« no previous file with comments | « no previous file | src/log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698