mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
ctdb-tests: Terminate event loop if lock is no longer held
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
061315cc79
commit
25d32ae97a
@ -242,7 +242,7 @@ static void do_lock_wait_time(struct do_lock_context *dl,
|
||||
&done);
|
||||
assert(tt != NULL);
|
||||
|
||||
while (! done) {
|
||||
while (!done && dl->mh != NULL) {
|
||||
tevent_loop_once(dl->ctdb->ev);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user