Skip to content

Fix memory leak in #161 and regression in #194 #192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 15, 2023

Conversation

okmyself
Copy link
Contributor

No description provided.

@davdroman
Copy link
Collaborator

Please rebase your branch with the latest master as there are merge conflicts in this PR. Thanks!

@davdroman
Copy link
Collaborator

davdroman commented Feb 14, 2023

@okmyself CI is failing with:

- ERROR | xcodebuild:  /Users/runner/work/SwiftUI-Introspect/SwiftUI-Introspect/Introspect/UIKitIntrospectionView.swift:80:17: error: invalid redeclaration of 'updateUIView(_:context:)'
    - NOTE  | xcodebuild:  /Users/runner/work/SwiftUI-Introspect/SwiftUI-Introspect/Introspect/UIKitIntrospectionView.swift:68:17: note: 'updateUIView(_:context:)' previously declared here

@@ -52,9 +52,16 @@ public struct UIKitIntrospectionViewController<TargetViewControllerType: UIViewC
return viewController
}

/// If you find that the `moveToWindowHandler` is not called in certain situations (which has not been discovered yet),
/// you can add code to call the `moveToWindowHandler` in the function body.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has come to pass as reported in #194 so I'll be taking over and including the fix here.

@davdroman davdroman changed the title Fix Memory Leak Issue #161 introduced by #153 Fix memory leak in #161 introduced by #153 Feb 15, 2023
@davdroman davdroman changed the title Fix memory leak in #161 introduced by #153 Fix memory leak in #161 and regression in #194 Feb 15, 2023
@davdroman davdroman merged commit dd06d8b into siteline:master Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants