diff --git a/src/animation/client.h b/src/animation/client.h index 8d26adb..2e63088 100644 --- a/src/animation/client.h +++ b/src/animation/client.h @@ -742,6 +742,9 @@ void client_commit(Client *c) { void client_set_pending_state(Client *c) { + if (!c || c->iskilling) + return; + // 判断是否需要动画 if (!animations) { c->animation.should_animate = false;