Safe thread that handles errors and exceptions and writes a crash file before stopping the server.
See Source File selery/util/thread.d
MIT
Copyright (c) 2017-2019 sel-project
Kripth