diff options
author | Roxie Linden <roxie@lindenlab.com> | 2010-02-25 11:33:56 -0800 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2010-02-25 11:33:56 -0800 |
commit | 92cef0426df15c0e661fa795e6b00214f381dd05 (patch) | |
tree | 4aa5f2277e140e98c381bdcd0facba64d4f0deca /indra/media_plugins/webkit/media_plugin_webkit.cpp | |
parent | c6163fafaac9c72683b11894ed309d1f55a745c8 (diff) | |
parent | 7f61cde331880baa21801aa0c1c1ccf9dc57946f (diff) |
automated merge from trunk
Diffstat (limited to 'indra/media_plugins/webkit/media_plugin_webkit.cpp')
-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 084cdd9561..42d680ade6 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. |