Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit 688e8d2

Browse files
author
Rajinder Ramgarhia
committed
Add comment explaning the change
1 parent 73373ee commit 688e8d2

2 files changed

Lines changed: 1 addition & 16 deletions

File tree

AsyncDisplayKit.xcodeproj/project.pbxproj

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,7 +1547,6 @@
15471547
058D09B9195D04C000B7D73C /* Frameworks */,
15481548
058D09BA195D04C000B7D73C /* Resources */,
15491549
3B9D88CDF51B429C8409E4B6 /* Copy Pods Resources */,
1550-
2AC85249A2221047409FABBB /* Embed Pods Frameworks */,
15511550
);
15521551
buildRules = (
15531552
);
@@ -1647,21 +1646,6 @@
16471646
/* End PBXResourcesBuildPhase section */
16481647

16491648
/* Begin PBXShellScriptBuildPhase section */
1650-
2AC85249A2221047409FABBB /* Embed Pods Frameworks */ = {
1651-
isa = PBXShellScriptBuildPhase;
1652-
buildActionMask = 2147483647;
1653-
files = (
1654-
);
1655-
inputPaths = (
1656-
);
1657-
name = "Embed Pods Frameworks";
1658-
outputPaths = (
1659-
);
1660-
runOnlyForDeploymentPostprocessing = 0;
1661-
shellPath = /bin/sh;
1662-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AsyncDisplayKitTests/Pods-AsyncDisplayKitTests-frameworks.sh\"\n";
1663-
showEnvVarsInLog = 0;
1664-
};
16651649
2E61B6A0DB0F436A9DDBE86F /* Check Pods Manifest.lock */ = {
16661650
isa = PBXShellScriptBuildPhase;
16671651
buildActionMask = 2147483647;

AsyncDisplayKit/ASControlNode.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ - (void)sendActionsForControlEvents:(ASControlNodeEvent)controlEvents withEvent:
339339
_ASEnumerateControlEventsIncludedInMaskWithBlock(controlEvents, ^
340340
(ASControlNodeEvent controlEvent)
341341
{
342+
// Use a copy to itereate, the action perform could call remove causing a mutation crash.
342343
NSMapTable *eventDispatchTable = [[_controlEventDispatchTable objectForKey:_ASControlNodeEventKeyForControlEvent(controlEvent)] copy];
343344

344345
// For each target interested in this event...

0 commit comments

Comments
 (0)