Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index 7f7f5b944b99a82c63c5d970a1bc6b59a8715209..66e3b518a50933adc4d8dad2aea99ac6a130727a 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -2831,8 +2831,7 @@ int Shell::Main(int argc, char* argv[]) { |
platform::tracing::TraceWriter::CreateJSONTraceWriter(trace_file)); |
tracing_controller->Initialize(trace_buffer); |
if (!i::FLAG_verify_predictable) { |
- platform::SetTracingController(g_platform, tracing_controller.get()); |
- tracing_controller.release(); |
+ platform::SetTracingController(g_platform, tracing_controller.release()); |
} |
} |