session: Defer connect/disconnect calls
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Mon, 22 Aug 2011 12:58:02 +0000 (14:58 +0200)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Tue, 23 Aug 2011 15:22:29 +0000 (17:22 +0200)
commit8a9f8fefd0157ed6f5a4af2e2fa06c41538133c7
tree85c73d7a986a4e62b9c967a13a900283077e660b
parent22a198e642da298a66fc5cb3e9b6e246dbd972b6
session: Defer connect/disconnect calls

When we call connect and disconnect a service we might
reenter the session state machine. So we should defer
these calls and finishing up the state change first.
src/session.c