Protect against re-entrance(#954)
This is a safety guard and should never be activated.
This commit is contained in:
parent
3fb838a041
commit
4ef4f2bdc5
1 changed files with 7 additions and 0 deletions
|
|
@ -110,6 +110,13 @@ namespace play {
|
|||
{
|
||||
Lock sync(this);
|
||||
string problemLog;
|
||||
if (!isOperational())
|
||||
{
|
||||
WARN (play, "Attempt to OutputDirector::bringDown() -- "
|
||||
"which it is not in running state. Invocation ignored. "
|
||||
"This indicates an error in Lifecycle logic.");
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
TODO ("actually bring down the output generation");
|
||||
|
|
|
|||
Loading…
Reference in a new issue