Waits for the associated actor thread (if any) to complete, and then
destroy the jss::actor instance and the associated message
queue.
~actor();
- Effects:
Waits for the actor thread (if any) to complete. Destroys *this.
- Throws:
Nothing.
#include <jss/actor.hpp>