3ba93c7 daemon: cleanup state drivers in order reverse to init order

1 file Authored by Nikolay Shirokovskiy 7 years ago, Committed by crobinso 7 years ago,
    daemon: cleanup state drivers in order reverse to init order
    
    This patch aims to fix observed crash on daemon shutdown. Main thread is in
    the process of state drivers cleanup, network driver is cleaned up and
    qemu driver is not yet. Meanwhile eof event from qemu process triggers
    qemuProcessStop -> networkReleaseActualDevice and crash happens as
    network driver is already cleaned up.
    
    Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
    
        
file modified
+4 -4