Skip to content

Commit

Permalink
file-transfer: return a value from task
Browse files Browse the repository at this point in the history
- This fixes "GTask finalized without ever returning (using g_task_return_*()).
This potentially indicates a bug in the program." errors.
  • Loading branch information
hfiguiere committed Oct 12, 2023
1 parent cc74099 commit 471b2ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions document-portal/file-transfer.c
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@ stop_file_transfers_in_thread_func (GTask *task,
}
}
G_UNLOCK (transfers);
g_task_return_boolean (task, TRUE);
}

void
Expand Down

0 comments on commit 471b2ce

Please sign in to comment.