3 ms·
> One problem with this approach was that you still had to wait for these threads when the application would shut down. If you know that an object will live fo
by zozbot234 6y ago
> One problem with this approach was that you still had to wait for these threads when the application would shut down.
If you know that an object will live for the rest of the program and not need any finalization logic, Rust allows you to "leak" it and save that overhead on shutdown.