Prevent hangs in OncePer when the callback panics
If the callback passed to Once panics it was leaving the waiter in place that would never be completed. Move writing the value and signalling the waiter to defer. Test: TestOncePerPanic Change-Id: Icc4d3b779a79914fcd881d61d38dffcc2f591c39
Loading
Please register or sign in to comment