It was possible race condition on empty curves -- it's possible that curve object is fully updated and path is null in that cases, Proper way to deal with this is to check curve_cache for non-NULL.
It was possible race condition on empty curves -- it's possible that curve object is fully updated and path is null in that cases, Proper way to deal with this is to check curve_cache for non-NULL.