File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -144,22 +144,6 @@ struct System: State {
144
144
}
145
145
}
146
146
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
- }*/
163
147
struct RemoveWaitingPlugin : Action {
164
148
let plugin : Plugin
165
149
@@ -169,8 +153,6 @@ struct System: State {
169
153
waitingPlugins. removeAll { p in
170
154
return plugin === p
171
155
}
172
- let countAfter = waitingPlugins. count
173
- print ( " RemoveWaitingPlugin: \( countBefore) -> \( countAfter) " )
174
156
175
157
return System ( configuration: state. configuration,
176
158
settings: state. settings,
You can’t perform that action at this time.
0 commit comments