You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the system_monitor:terminate/2 there is a tuple match done with what is stored in State#state.monitors;
this looks wrong to me, surely it should match against a 5-element tuple ( {Module,Function,RunOnTerminate, TicksReset, TicksDecremented} ) and not as it is done today (a 4-element tuple).
To me it looks like terminate/2 should match 5-tuples as you wrote and apply(Module, Function, []) not apply(?MODULE, Monitor, []). Currently the function is a no-op.
In the system_monitor:terminate/2 there is a tuple match done with what is stored in State#state.monitors;
this looks wrong to me, surely it should match against a 5-element tuple ( {Module,Function,RunOnTerminate, TicksReset, TicksDecremented} ) and not as it is done today (a 4-element tuple).
system_monitor/src/system_monitor.erl
Line 129 in 1978c2b
The text was updated successfully, but these errors were encountered: