service: Disconnect the connecting service when needed
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Mon, 25 Mar 2013 11:45:25 +0000 (13:45 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 27 Mar 2013 13:21:21 +0000 (15:21 +0200)
commitd7d8f8bdb7c1ddae098893e10608fcb42034a9ff
tree4660ca7f84738b4defa28b095496f0592632be23
parent458ef68f7c01b5b4735848547212a34e2030578d
service: Disconnect the connecting service when needed

If we are trying to connect a service and there is another
service connecting, then we disconnect the pending service
and connect the new one.

Fixes BMC#25981
src/service.c