Merge pull request #184 from gnustep/gsdisplayserver_cleanup

This commit is contained in:
Gregory Casamento 2023-05-31 17:10:55 -04:00 committed by GitHub
commit a34867faee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,6 @@ static NSMapTable *windowmaps = NULL;
/* Lock for use when creating contexts */
static NSRecursiveLock *serverLock = nil;
static NSString *NSCurrentServerThreadKey;
static GSDisplayServer *currentServer = nil;
/** Returns the GSDisplayServer that created the interal
@ -130,7 +129,6 @@ GSCurrentServer(void)
serverLock = [NSRecursiveLock new];
_globalGSZone = NSDefaultMallocZone();
defaultServerClass = [GSDisplayServer class];
NSCurrentServerThreadKey = @"NSCurrentServerThreadKey";
windowmaps = NSCreateMapTable(NSNonOwnedPointerMapKeyCallBacks,
NSNonOwnedPointerMapValueCallBacks, 20);
}