Fixes:
Panic: file director.c: line 966 (director_user_move_timeout): assertion failed: (user->kill_ctx->kill_state != USER_KILL_STATE_FLUSHING)
static void director_user_move_timeout(struct user *user)
{
i_assert(user->kill_ctx != NULL);
- i_assert(user->kill_ctx->kill_state != USER_KILL_STATE_FLUSHING);
i_assert(user->kill_ctx->kill_state != USER_KILL_STATE_DELAY);
if (log_throttle_accept(user_move_throttle)) {
user->username_hash,
user_kill_state_names[user->kill_ctx->kill_state]);
}
+ if (user->kill_ctx->kill_state == USER_KILL_STATE_FLUSHING) {
+ o_stream_unref(&user->kill_ctx->reply);
+ program_client_destroy(&user->kill_ctx->pclient);
+ }
director_user_move_free(user);
}