Rudimentary support for building the executable with data attached. Pushed some things around in the makefile to fix issues along the way. #46

This commit is contained in:
2024-03-25 13:50:17 -04:00
parent fb704a5b83
commit 15c9f8f458
4 changed files with 32 additions and 18 deletions

View File

@ -1939,6 +1939,11 @@ void tf_task_destroy(tf_task_t* task)
tf_free(task->_promise_stacks);
tf_free((void*)task->_path);
bool was_trusted = task->_trusted;
if (task->_zip)
{
unzClose(task->_zip);
task->_zip = NULL;
}
tf_free(task);
if (was_trusted)
{