b1f240f1b5
Add defer recover() to both Emit (async mode) and EmitAndWait goroutines to prevent handler panics from crashing the process. Fixes #1580