#include <mono/metadata/threads.h>
#include <mono/metadata/appdomain.h>
#include <mono/metadata/debug-helpers.h>
-#include <mono/io-layer/io-layer.h>
#include "mono/metadata/profiler.h"
#include <mono/metadata/profiler-private.h>
#include <mono/metadata/mono-config.h>
commands = fopen (commands_filename, "w");
if (!commands) {
- unlink (commands_filename);
+ unlink (commands_filename);
return;
}
return;
exec:
+ fclose (commands);
execv (argv [0], (char**)argv);
_exit (-1);