mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 15:21:54 +00:00
Turn on shutdown
BUG= R=johnmccutchan@google.com Review URL: https://codereview.chromium.org/1419333008 .
This commit is contained in:
parent
1e3fb098d5
commit
a0c51df0ce
|
@ -120,7 +120,7 @@ static const int kRestartRequestExitCode = 1000;
|
|||
|
||||
// Global flag that is used to indicate that the VM should do a clean
|
||||
// shutdown.
|
||||
static bool do_vm_shutdown = false;
|
||||
static bool do_vm_shutdown = true;
|
||||
|
||||
static void ErrorExit(int exit_code, const char* format, ...) {
|
||||
va_list arguments;
|
||||
|
|
|
@ -38,7 +38,7 @@ DECLARE_FLAG(bool, trace_isolates);
|
|||
DECLARE_FLAG(bool, trace_time_all);
|
||||
DEFINE_FLAG(bool, keep_code, false,
|
||||
"Keep deoptimized code for profiling.");
|
||||
DEFINE_FLAG(bool, shutdown, false, "Do a clean shutdown of the VM");
|
||||
DEFINE_FLAG(bool, shutdown, true, "Do a clean shutdown of the VM");
|
||||
|
||||
Isolate* Dart::vm_isolate_ = NULL;
|
||||
ThreadPool* Dart::thread_pool_ = NULL;
|
||||
|
|
Loading…
Reference in a new issue