Skip websocket commands on stop

This commit is contained in:
Vinnie Falco
2016-02-26 15:36:45 -05:00
parent 94a47569d6
commit b82be0a9b0

View File

@@ -365,6 +365,8 @@ public:
//
for (int i = 0; i < 3; ++i)
{
if(app_.getJobQueue().isStopping())
return;
boost::optional <std::string> msg = ptr->getMessage ();
if (! msg)
return;