Skip to content

Commit

Permalink
Check for breakout condition in timer callback
Browse files Browse the repository at this point in the history
Change-Id: I357cfd3e6cf907d4e8858bee0f052bf9fdc467d0
Reviewed-on: http://review.couchbase.org/18542
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
  • Loading branch information
avsej committed Jul 18, 2012
1 parent 752e247 commit 319db6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/timer.c
Expand Up @@ -28,6 +28,7 @@ static void timer_callback(libcouchbase_socket_t sock,
instance->io->delete_timer(instance->io, timer->event);
libcouchbase_timer_destroy(instance, timer);
}
libcouchbase_maybe_breakout(timer->instance);

(void)sock;
(void)which;
Expand Down

0 comments on commit 319db6a

Please sign in to comment.