Skip to content

Commit b4409ff

Browse files
committed
[buildsystem] Fix strong reference to delegate
Typically this would create a reference cycle.
1 parent 0ea45c7 commit b4409ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SKCore/BuildSystemManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public final class BuildSystemManager {
110110
weak var mainFilesProvider: MainFilesProvider?
111111

112112
/// Build system delegate that will receive notifications about setting changes, etc.
113-
var _delegate: BuildSystemDelegate?
113+
weak var _delegate: BuildSystemDelegate?
114114

115115
/// Create a BuildSystemManager that wraps the given build system. The new
116116
/// manager will modify the delegate of the underlying build system.

0 commit comments

Comments
 (0)