diff options
author | Callum Prentice <callum@lindenlab.com> | 2010-02-04 17:03:41 -0800 |
---|---|---|
committer | Callum Prentice <callum@lindenlab.com> | 2010-02-04 17:03:41 -0800 |
commit | 259fa5fd0b67459145eb5463d79f37271ee7af0a (patch) | |
tree | 27c7eaddb0c6f7dd406228e3a61fc89b6fedb159 /indra/media_plugins | |
parent | 80139d95adbcb2258c5541a4e0ace32f32b78ba5 (diff) | |
parent | a4aed31ad9fd1874b134af87145ec93b283dbbfb (diff) |
Merge with tip
Diffstat (limited to 'indra/media_plugins')
-rw-r--r-- | indra/media_plugins/webkit/media_plugin_webkit.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/media_plugins/webkit/media_plugin_webkit.cpp b/indra/media_plugins/webkit/media_plugin_webkit.cpp index 89ea1b0537..56b9250393 100644 --- a/indra/media_plugins/webkit/media_plugin_webkit.cpp +++ b/indra/media_plugins/webkit/media_plugin_webkit.cpp @@ -175,6 +175,15 @@ private: } std::string application_dir = std::string( cwd ); +#if LL_DARWIN + // When running under the Xcode debugger, there's a setting called "Break on Debugger()/DebugStr()" which defaults to being turned on. + // This causes the environment variable USERBREAK to be set to 1, which causes these legacy calls to break into the debugger. + // This wouldn't cause any problems except for the fact that the current release version of the Flash plugin has a call to Debugger() in it + // which gets hit when the plugin is probed by webkit. + // Unsetting the environment variable here works around this issue. + unsetenv("USERBREAK"); +#endif + #if LL_WINDOWS //*NOTE:Mani - On windows, at least, the component path is the // location of this dll's image file. |