diff options
author | Dan Williams <dcbw@redhat.com> | 2009-10-12 19:51:10 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-10-12 19:51:10 -0700 |
commit | c0253c7c293148a0bdb6c20d4b38a08401d8e34d (patch) | |
tree | 9b83b298e996037134cf74a7c5e8201bdf358012 /test | |
parent | 6f65ad768238395a3bfc3e02fd946843282492d2 (diff) |
core: convert MMCallbackInfo modem refs to weak refs
Full references prevented destruction of the modem object if
it was unplugged or somehow removed. To fix that using full
references on the modems would require that all usage of
MMCallbackInfo to be aware of the validity of the modem and to
ensure the callback was called whenever the modem became invalid.
That, needless to say, would suck. Since any in-progress calls
can't complete when the modem is invalid anyway, just have the
MMCallbackInfo object return a generic error when the modem goes
away and the call is still in-progress.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions