erlang/otp — pull request #489 by fishcakez (2014-10-01 13:11:45+00:00)
Title: Ensure dbg tracer exits when dbg is stopped

Previously the tracer might receive an 'EXIT' message in the trace receive loop and treate it as garbage instead of stopping.

See: http://erlang.org/pipermail/erlang-questions/2014-October/081179.html

/cc @leoliu