Bug 73334 - TpFileTransferChannel: Add a method to cancel streaming
Summary: TpFileTransferChannel: Add a method to cancel streaming
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-glib (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-06 21:04 UTC by Xavier Claessens
Modified: 2019-12-03 20:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Xavier Claessens 2014-01-06 21:04:47 UTC
There is currently no way for apps to cancel the streaming happening in TpFileTransferChannel. Previously unreffing the proxy was a lame way of doing it, but now the channel ref itself during the opperation, so only a g_object_run_dispose() would do the job.

In all cases, depending on the refcount/dispose isn't ideal, I would add an explicit tp_file_transfer_channel_cancel() method that can trivially cancel the internal GCancellable.
Comment 1 GitLab Migration User 2019-12-03 20:42:36 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-glib/issues/120.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.