• Karel Koci's avatar
    Add cleanup functions · ef01234a
    Karel Koci authored
    These new functions should be used for correct cleanup. Idea is that you
    will register your cleanup function that would be called if fatal error
    is detected and if no such error happens then you will call cleanup_run
    to call and unregister given cleanup function anyway.
    ef01234a