mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-12 23:54:45 +08:00
fix(mail-tasks): Bad bug involving wrong call to increment/decrement locks
This commit is contained in:
parent
bcef8e6cc2
commit
e94f5808c4
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ class ChangeMailTask extends Task
|
|||
|
||||
_removeLock: (item) ->
|
||||
klass = @objectClass()
|
||||
NylasAPI.incrementOptimisticChangeCount(klass, item.id)
|
||||
NylasAPI.decrementOptimisticChangeCount(klass, item.id)
|
||||
@_locked[item.id] -= 1
|
||||
|
||||
_ensureLocksRemoved: ->
|
||||
|
|
Loading…
Add table
Reference in a new issue