We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Disposable
To workaround the memory leak issue, an another idea could be to implement the famous pattern of Disposable and Disposer
Disposer
// MARK: - Disposable declaration public protocol Disposable { func dispose() } // MARK: - Disposable extension Each: Disposable { public func dispose() { stop() } } // MARK: - Disposer declaration public protocol Disposer { func add(_ disposable: Disposable) func dispose() }
The text was updated successfully, but these errors were encountered:
dalu93
No branches or pull requests
To workaround the memory leak issue, an another idea could be to implement the famous pattern of
Disposable
andDisposer
The text was updated successfully, but these errors were encountered: