Skip to content

Commit 27f6094

Browse files
authored
Merge pull request #15 from engingulek/14-retain-cycle-debug
retain cycle debug
2 parents d77989a + 7ada9b1 commit 27f6094

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ICTMDBDetailModule/DetailInteractor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import ICTMDBNetworkManagerKit
1010
final class TvShowDetailInteractor : @preconcurrency PresenterToInteractorTvShowDetailProtocol {
1111

1212

13-
var presenter: (any InteractorToPresenterTvShowDetailProtocol)?
13+
weak var presenter: (any InteractorToPresenterTvShowDetailProtocol)?
1414

1515
private let network : NetworkManagerProtocol
1616

ICTMDBDetailModule/DetailProtocols.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ enum TvShowInteractorResult {
4646
case sendError(_ error:TvShowErrorType)
4747
}
4848

49-
protocol InteractorToPresenterTvShowDetailProtocol {
49+
protocol InteractorToPresenterTvShowDetailProtocol : AnyObject {
5050
func onHandle(handle:TvShowInteractorResult)
5151

5252
}

0 commit comments

Comments
 (0)