mirror of
https://github.com/brmlab/brmlife.git
synced 2025-08-03 02:13:35 +02:00
agent::on_action_takes(): Call die() only if not dead
This commit is contained in:
parent
ded047fb40
commit
5dcf54448e
1 changed files with 1 additions and 1 deletions
2
agent.cc
2
agent.cc
|
@ -114,7 +114,7 @@ agent::on_action_takes(void)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (conn->error) {
|
if (conn->error) {
|
||||||
die();
|
if (!dead) die();
|
||||||
conn->cancel();
|
conn->cancel();
|
||||||
conn = NULL;
|
conn = NULL;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue