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

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: flutter/engine
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: aeff9b1
Choose a base ref
...
head repository: flutter/engine
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7dcbd93
Choose a head ref
  • 1 commit
  • 6 files changed
  • 1 contributor

Commits on May 13, 2024

  1. Remove -[NSNotificationCenter removeObserver:] in deallocs (#52772)

    Removing `NSNotificationCenter` observers in dealloc hasn't been necessary since iOS 8 or macOS 10.10.
    
    > If your app targets iOS 9.0 and later or macOS 10.11 and later, and you used [addObserver:selector:name:object:](https://developer.apple.com/documentation/foundation/nsnotificationcenter/1415360-addobserver), you do not need to unregister the observer. If you forget or are unable to remove the observer, the system cleans up the next time it would have posted to it.
    
    https://developer.apple.com/documentation/foundation/nsnotificationcenter/1413994-removeobserver
    
    Remove it.
    jmagman authored May 13, 2024
    Configuration menu
    Copy the full SHA
    7dcbd93 View commit details
    Browse the repository at this point in the history
Loading