aboutsummaryrefslogtreecommitdiff
path: root/src/mm-errors.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2009-11-26 13:40:32 -0800
committerDan Williams <dcbw@redhat.com>2009-11-26 13:40:32 -0800
commit8dd2421e9c7c2d8afa5af4080eabed41c5689d81 (patch)
treed82595df931c009d67a0082c0775b23ef2c11373 /src/mm-errors.c
parent19e9c0cb480851a6e64ff9b5ce33861765a6e6ee (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