RxSwiftCommunity / RxWebKit

RxWebKit is a RxSwift wrapper for WebKit
MIT License
249 stars 104 forks source link

Memory leak caused by invalid WKNavigationDelegateEvents #38

Closed monibu1548 closed 4 years ago

monibu1548 commented 4 years ago

I am using RxWebKit 0.3.7 by Cocoapod 1.6.3, Xcode 11.1

While using RxWebkit, if the UINavigationDelegate observable is subcribed, the deinit is not called.

As a result of finding the cause, we found that the use of the "navigationEventWith" and "navigationFailEventWith" functions in the "WKNavigationDelegateEvents+Rx.swift" file resulted in circular reference.

freak4pc commented 4 years ago

Released in 1.0.2