Fixed table initialization.

This commit is contained in:
Ludovic Marcotte
2013-03-25 15:58:36 -04:00
parent b4ebc90dd0
commit a009c71034
+1 -1
View File
@@ -77,7 +77,7 @@ static NSMapTable *serverTable = nil;
{
if (!serverTable)
{
serverTable = [NSMapTable mapTableWithStrongToWeakObjects];
serverTable = NSCreateMapTable(NSObjectMapKeyCallBacks, NSNonRetainedObjectMapValueCallBacks, 128);
[serverTable retain];
}
lasso_init ();