[PATCH v3 2/4] ivi-controller: wait clients before freeing ivilayer

Ucan, Emre (ADITG/SW1) eucan at de.adit-jv.com
Tue Apr 5 11:22:24 EDT 2016


In the last patch, ivilayer is only freed when a hmi-controller calls the destroy request.
But this is wrong because ivilayer would not be destroyed, if there is no running hmi controllers.

Therefore, I added an if check in layer_event_remove to control, if there are running hmi controllers.

If not, ivilayer is freed immediately.

Best regards

Emre Ucan

Advanced Driver Information Technology GmbH
Software Group I (ADITG/SW1)
Robert-Bosch-Str. 200
31139 Hildesheim

Tel. +49 5121 49 6937
Fax +49 5121 49 6999
eucan at de.adit-jv.com

ADIT is a joint venture company of Robert Bosch GmbH/Robert Bosch Car Multimedia GmbH and DENSO Corporation
Sitz: Hildesheim, Registergericht: Amtsgericht Hildesheim HRB 3438
Geschaeftsfuehrung: Wilhelm Grabow, Ken Yaguchi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ivi-controller-wait-clients-before-freeing-ivilayer.patch
Type: application/octet-stream
Size: 2687 bytes
Desc: 0002-ivi-controller-wait-clients-before-freeing-ivilayer.patch
URL: <http://lists.genivi.org/pipermail/genivi-ivi-layer-management_lists.genivi.org/attachments/20160405/2ac972f7/attachment.patch>

More information about the genivi-ivi-layer-management mailing list