project_files/HedgewarsMobile/Classes/MapPreviewButtonView.m
changeset 6822 206db098f8c5
parent 6700 e04da46ee43c
child 6832 fae8fd118da9
--- a/project_files/HedgewarsMobile/Classes/MapPreviewButtonView.m	Sun Mar 25 21:17:01 2012 +0200
+++ b/project_files/HedgewarsMobile/Classes/MapPreviewButtonView.m	Mon Mar 26 03:24:50 2012 +0200
@@ -20,8 +20,6 @@
 
 
 #import "MapPreviewButtonView.h"
-#import "MapConfigViewController.h"
-#import "UIImageExtra.h"
 #import <pthread.h>
 #import <QuartzCore/QuartzCore.h>
 
@@ -116,6 +114,7 @@
         }
     }
 
+    [HWUtils freePort:port];
     SDLNet_TCP_Close(sd);
     SDLNet_Quit();
     return map;