Skip to content

Commit 5a8588b

Browse files
committed
call onStop when the server breaks the block before the client too
1 parent 647cd42 commit 5a8588b

File tree

1 file changed

+1
-0
lines changed
  • common/src/main/kotlin/com/lambda/interaction/request/breaking

1 file changed

+1
-0
lines changed

common/src/main/kotlin/com/lambda/interaction/request/breaking/BreakManager.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ object BreakManager : RequestHandler<BreakRequest>(
144144
return@listen
145145
}
146146
destroyBlock(info)
147+
info.request.onStop?.invoke(info.context.expectedPos)
147148
info.internalOnBreak()
148149
if (!info.callbacksCompleted) {
149150
info.startPending()

0 commit comments

Comments
 (0)