servo / surfman

Accelerated offscreen graphics for WebGL
Apache License 2.0
172 stars 84 forks source link

Add missing panic check in drop impl #287

Closed jschwe closed 4 months ago

jschwe commented 4 months ago

All other panic!s in drop implementation check first if the thread is already panicking. This prevents double panics, which can hide the actual issue.