Ruby Thread#kill and ensure blocks
It turns out ensure blocks are executed inside a Thread even after the Thread is killed. I write about it and show an example here.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
It turns out ensure blocks are executed inside a Thread even after the Thread is killed. I write about it and show an example here.
Post a comment