Skip to content

Commit

Permalink
ignore PINNING state
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryLitvintsev committed Oct 15, 2024
1 parent 8f35f56 commit 72e9d6e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,8 @@ protected PinTask createTask(PinManagerPinMessage message,
* previous pin completed then use it. Otherwise abort the
* previous pin and create a new one.
*/
if (pin.getState() == PINNED) {
if (pin.getState() == PINNED ||
pin.getState() == PINNING) {
message.setPin(pin);
reply.reply(message);
return null;
Expand Down

0 comments on commit 72e9d6e

Please sign in to comment.