mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
d917c35e72
The UIDartState is now always owned by the isolate and always freed in the isolate cleanup callback. In the isolate shutdown callback, if the isolate being shut down is the main isolate, the RuntimeController is informed which in turn notifies the RuntimeHolder and thus the ApplicationControllerImpl. The ApplicationControllerImpl tears down the whole Flutter application. This fixes Fuchsia bug: MI4-328
18 lines
488 B
C++
18 lines
488 B
C++
// Copyright 2015 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "flutter/runtime/runtime_delegate.h"
|
|
|
|
namespace blink {
|
|
|
|
RuntimeDelegate::~RuntimeDelegate() {}
|
|
|
|
void RuntimeDelegate::DidCreateMainIsolate(Dart_Isolate isolate) {}
|
|
|
|
void RuntimeDelegate::DidCreateSecondaryIsolate(Dart_Isolate isolate) {}
|
|
|
|
void RuntimeDelegate::DidShutdownMainIsolate() {}
|
|
|
|
} // namespace blink
|