fixing crash when initializing the mlx multiple times

This commit is contained in:
Kbz-8
2024-10-19 10:50:50 +02:00
parent c45a76a5bf
commit 04f9cb1d95
5 changed files with 16 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/15 19:57:49 by maldavid #+# #+# */
/* Updated: 2024/01/11 03:13:21 by maldavid ### ########.fr */
/* Updated: 2024/10/19 10:47:04 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
@@ -59,5 +59,6 @@ namespace mlx
buf.destroy();
});
_pool.destroy();
_buffers.clear();
}
}