mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-17 00:44:19 +00:00
Changed the way Mac messaging works internally to avoid shutdown problems with plugins. Updated some iPhone code. Fixed a CoreGraphics line drawing problem.
This commit is contained in:
parent
9929d71c27
commit
802f850015
15 changed files with 422 additions and 415 deletions
|
|
@ -194,6 +194,7 @@ bool JUCEApplication::initialiseApp (String& commandLine)
|
|||
|
||||
initialiseJuce_GUI();
|
||||
|
||||
#if ! JUCE_IPHONE
|
||||
jassert (appLock == 0); // initialiseApp must only be called once!
|
||||
|
||||
if (! moreThanOneInstanceAllowed())
|
||||
|
|
@ -211,6 +212,7 @@ bool JUCEApplication::initialiseApp (String& commandLine)
|
|||
return false;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// let the app do its setting-up..
|
||||
initialise (commandLineParameters);
|
||||
|
|
@ -289,9 +291,9 @@ int JUCEApplication::main (int argc, char* argv[],
|
|||
return juce_IPhoneMain (argc, argv, newApp);
|
||||
#else
|
||||
|
||||
#if JUCE_MAC
|
||||
#if JUCE_MAC
|
||||
const ScopedAutoReleasePool pool;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
String cmd;
|
||||
for (int i = 1; i < argc; ++i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue