3 ms·
> like forgetting to clean up resources on the (invisible) exceptional execution path Except this is still possible on the non-exceptional execution path. You
by vips7L 4y ago
> like forgetting to clean up resources on the (invisible) exceptional execution path
Except this is still possible on the non-exceptional execution path. You simply just need to forget the defer call. The only thing that solves this is RAII and destructors.