Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
temporary fix for a memory leak
  • Loading branch information
iskakaushik committed Oct 29, 2020
commit e4fbbb166adb8f8553066618b7d8429a11cde0a1
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,12 @@
for (UIView* sub_view in [flutter_view subviews]) {
[sub_view removeFromSuperview];
}
// See: https://github.com/flutter/flutter/issues/69305
for (auto it = touch_interceptors_.begin(); it != touch_interceptors_.end(); it++) {
FlutterTouchInterceptingView* view = it->second.get();
[view removeFromSuperview];
}
touch_interceptors_.clear();
views_.clear();
composition_order_.clear();
active_composition_order_.clear();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@
/* Begin XCBuildConfiguration section */
0D6AB6D022BB05E200EEE540 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 0D6AB73E22BD8F0200EEE540 /* FlutterEngineConfig.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
Expand Down Expand Up @@ -391,6 +392,7 @@
};
0D6AB6D122BB05E200EEE540 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 0D6AB73E22BD8F0200EEE540 /* FlutterEngineConfig.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
Expand Down Expand Up @@ -484,7 +486,6 @@
};
0D6AB6D622BB05E200EEE540 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 0D6AB73E22BD8F0200EEE540 /* FlutterEngineConfig.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;
Expand Down Expand Up @@ -528,7 +529,6 @@
};
0D6AB6D722BB05E200EEE540 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 0D6AB73E22BD8F0200EEE540 /* FlutterEngineConfig.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
systemAttachmentLifetime = "keepNever">
<AdditionalOptions>
<AdditionalOption
key = "MallocStackLogging"
value = ""
isEnabled = "YES">
</AdditionalOption>
</AdditionalOptions>
<Testables>
<TestableReference
skipped = "NO">
Expand Down