mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-06 04:35:30 +08:00
[client-sync] Properly wrap the SyncWorker arg in an object
The argument structure for runTask() changed and needs it this way.
This commit is contained in:
parent
c6a339df1a
commit
ae2e2122e9
1 changed files with 1 additions and 1 deletions
|
@ -468,7 +468,7 @@ class SyncWorker {
|
|||
|
||||
async _runTask(task) {
|
||||
this._currentTask = task
|
||||
await this._conn.runOperation(this._currentTask, this)
|
||||
await this._conn.runOperation(this._currentTask, {syncWorker: this})
|
||||
this._currentTask = null
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue