Hi,

I noticed that performSelectorOnMainThread: hangs, and to solve this issue
I had to do the following in NSRunLoop.m:

Instead of:

- (BOOL) runMode: (NSString*)mode beforeDate: (NSDate*)date

{

...

  d = [self limitDateForMode: mode];

  if (d == nil)

    {

      [arp drain];

      return NO;

    }

...

}

I did:

- (BOOL) runMode: (NSString*)mode beforeDate: (NSDate*)date

{

...

  d = [self limitDateForMode: mode];

  if (d == nil)

    {

      [self acceptInputForMode:mode beforeDate:date];

      [arp drain];

      return NO;

    }

...

}

i.e. I moved this line [self acceptInputForMode:mode beforeDate:date];
inside the if statement
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to