diff options
author | Dan Williams <dcbw@redhat.com> | 2009-11-26 13:40:32 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-11-26 13:40:32 -0800 |
commit | 8dd2421e9c7c2d8afa5af4080eabed41c5689d81 (patch) | |
tree | d82595df931c009d67a0082c0775b23ef2c11373 /src/mm-errors.c | |
parent | 19e9c0cb480851a6e64ff9b5ce33861765a6e6ee (diff) |
core: don't allow double-scheduled callbacks
If the modem becomes invalid (it crashes and resets, for example)
the callback-info's modem_destroyed_cb() function will handle
cleanup. Buf if the callback-info's callback does more work than
just returning the result (like simple_state_machine) it could
double-schedule the callback. Don't let that happen.
We need better modem-removal handling, but this fixes a crash for
now.
Diffstat (limited to 'src/mm-errors.c')
0 files changed, 0 insertions, 0 deletions