diff options
author | Mattes D <github@xoft.cz> | 2014-08-26 15:36:01 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-26 15:36:01 +0200 |
commit | 7146ed3065796e3f719745d7169b77340f26dc37 (patch) | |
tree | c91f0d26fb73878cead5ede4f81adf267da6e1e0 | |
parent | Added initial dungeon rooms finisher. (diff) | |
download | cuberite-7146ed3065796e3f719745d7169b77340f26dc37.tar cuberite-7146ed3065796e3f719745d7169b77340f26dc37.tar.gz cuberite-7146ed3065796e3f719745d7169b77340f26dc37.tar.bz2 cuberite-7146ed3065796e3f719745d7169b77340f26dc37.tar.lz cuberite-7146ed3065796e3f719745d7169b77340f26dc37.tar.xz cuberite-7146ed3065796e3f719745d7169b77340f26dc37.tar.zst cuberite-7146ed3065796e3f719745d7169b77340f26dc37.zip |
-rw-r--r-- | MCServer/profile_run.cmd | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/MCServer/profile_run.cmd b/MCServer/profile_run.cmd index 58efea64a..1ed47ac11 100644 --- a/MCServer/profile_run.cmd +++ b/MCServer/profile_run.cmd @@ -45,7 +45,7 @@ if %outputdir%n == n ( -::Create the output directory, if it didn't exist +:: Create the output directory, if it didn't exist mkdir %outputdir% @@ -60,7 +60,7 @@ if errorlevel 1 goto haderror :: Launch the application via the profiler %pt%\vsperfcmd /launch:%app% -if errorlevel 1 goto haderror +if errorlevel 1 goto haderrorshutdown :: Shut down the profiler (this command waits, until the application is terminated) %pt%\vsperfcmd /shutdown @@ -86,6 +86,10 @@ goto finished +:haderrorshutdown +echo An error was encountered, shutting down the profiler +%pt%\vsperfcmd /shutdown + :haderror echo An error was encountered pause |