• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
quitting app running in status bar logs this message about some modal session
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

quitting app running in status bar logs this message about some modal session


  • Subject: quitting app running in status bar logs this message about some modal session
  • From: Nick Rogers <email@hidden>
  • Date: Fri, 13 Sep 2013 05:02:22 +0530

Hi,

My app runs in status bar from where I can bring about its window and quit from the menu as well.

The following msg is logged in Xcode console (when doing [NSApp terminate:self],):

[25025:303] *** Assertion failure in -[NSApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextInfo:], /SourceCache/AppKit/AppKit-1187.39/AppKit.subproj/NSApplication.m:3919

[25025:303] Modal session cannot be run during application termination

I am not running any modal session at the time, nor the window is brought forward, still this error.

Please help.

Wishes,
Nick

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: @property and automatic synthesis of getters and setters.
  • Next by Date: Re: ARC vs Manual Reference Counting
  • Previous by thread: Re: @property and automatic synthesis of getters and setters.
  • Next by thread: Helper tool
  • Index(es):
    • Date
    • Thread