Fixes #563 The stop function cannot be ran in the same thread as the route handling thread so it has to be wrapped into another thread. This ensures that no matter where you stop the server from it always shuts down gracefully.
Fixes #563
The stop function cannot be ran in the same thread as the route handling thread so it has to be wrapped into another thread.
This ensures that no matter where you stop the server from it always shuts down gracefully.

stylismo/spark,MouettE-SC/spark,micsta/spark,stylismo/spark,gimlet2/spark,micsta/spark,perwendel/spark,perwendel/spark,gimlet2/spark,gimlet2/spark,rokusr/spark,arekkw/spark,MouettE-SC/spark,MouettE-SC/spark,rokusr/spark,stylismo/spark,micsta/spark,arekkw/spark,stylismo/spark,rokusr/spark,gimlet2/spark,perwendel/spark