Skip to content

Commit

Permalink
• Removed the kludgy INHIBIT_PERIOD_BEFORE_QUILLING_BROWSER and INHIB…
Browse files Browse the repository at this point in the history
…IT_PERIOD_AFTER_QUILLING_BROWSER mechanism for preventing browserQuit triggers when it was us who quit them, and replaced with a better mechanism backed by new constKeyBrowserWeQuitDates. To make this work, I needed to …

• -[BkmxDoc requinchBrowserMaybeForInfo:], which does the re-launching or re-quitting of browsers after a sync operation, now uses the higher-level method -[Extore quitOwnerAppWithTimeout:::::] instead of short-cutting to +[SSYOtherApper quitThisUsersAppWithBundlePath::::::].

• For compatibility with other existing calls, I needed to add another parameter, `preferredPath`, to -[Extore quitOwnerAppWithTimeout:::::].  With this rearrangement, the new constKeyBrowserWeQuitDates mechanism is invoked, and also "Quit <browser>" shows up in the Logs.

• Method -[Extore runningBundlePath] no longer returns a default path if the owner app is not running.  This makes much more sense!
  • Loading branch information
jerrykrinock committed Feb 19, 2018
1 parent 761092b commit b1b0c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NSUserDefaults+KeyPaths.m
Expand Up @@ -253,4 +253,4 @@ - (void)incrementIntValueForKey:(id)innerKey



@end
@end

0 comments on commit b1b0c48

Please sign in to comment.