diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-10-04 18:30:22 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-10-06 10:07:59 +0000 |
commit | e685c62f90b2d02c0f09f936df2f6d2d03c074af (patch) | |
tree | f1dae1926d7a3cafba6e6015e2a8639eb2edf53e /suites | |
parent | e17d13dfabef6736b1de2e6a7dd7c53d18c8651f (diff) |
modem: reset cancellable after cancelling dbus methods
I first wanted to use "reset" method, but according to [1]:
"The recommended practice is to drop the reference to a
cancellable after cancelling it, and let it die with the outstanding
async operations. You should create a fresh cancellable for further
async operations."
Pretty weird that in other parts of documentation it still says that it
can be used for concurrent events.
[1] https://developer.gnome.org/gio/2.54/GCancellable.html#g-cancellable-reset
Change-Id: I7392275620576fd0037be5b9d9f360a46a4f8312
Diffstat (limited to 'suites')
0 files changed, 0 insertions, 0 deletions