a38c5b8f1d
The function value and parameters of a defer statement are immediately evaluated, so this "disp" value is always nil, and calling Stop() on a nil dispatcher is a no-op, so this does nothing, but wrapping it in a closure that refers to "disp" fixes it. Signed-off-by: Julius Volz <julius.volz@gmail.com> |
||
---|---|---|
.. | ||
alertmanager | ||
amtool |