gm: Remove an unused variable in terminate/2
The variable was left unused after the fix to #224.
This commit is contained in:
parent
93ecc11f07
commit
f1ce00b6ae
|
@ -752,8 +752,7 @@ handle_info({'DOWN', MRef, process, _Pid, Reason},
|
|||
end.
|
||||
|
||||
|
||||
terminate(Reason, State = #state { module = Module,
|
||||
callback_args = Args }) ->
|
||||
terminate(Reason, #state { module = Module, callback_args = Args }) ->
|
||||
Module:handle_terminate(Args, Reason).
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue