Skip to content

Commit 29fa92a

Browse files
committed
removed test code
1 parent 743f327 commit 29fa92a

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

Sources/Segment/State.swift

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -144,22 +144,6 @@ struct System: State {
144144
}
145145
}
146146

147-
/*struct RemoveWaitingPlugin: Action {
148-
let plugin: Plugin
149-
150-
func reduce(state: System) -> System {
151-
var waitingPlugins = state.waitingPlugins
152-
waitingPlugins.removeAll { p in
153-
return plugin === p
154-
}
155-
return System(configuration: state.configuration,
156-
settings: state.settings,
157-
running: state.running,
158-
enabled: state.enabled,
159-
initializedPlugins: state.initializedPlugins,
160-
waitingPlugins: waitingPlugins)
161-
}
162-
}*/
163147
struct RemoveWaitingPlugin: Action {
164148
let plugin: Plugin
165149

@@ -169,8 +153,6 @@ struct System: State {
169153
waitingPlugins.removeAll { p in
170154
return plugin === p
171155
}
172-
let countAfter = waitingPlugins.count
173-
print("RemoveWaitingPlugin: \(countBefore) -> \(countAfter)")
174156

175157
return System(configuration: state.configuration,
176158
settings: state.settings,

0 commit comments

Comments
 (0)