Browse Source

Mark booc.exe as 32-bit (fix build).

DynamicHelpPad: fixed possible NullReferenceException.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3880 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 17 years ago
parent
commit
2bf3520293
  1. BIN
      src/AddIns/BackendBindings/Boo/RequiredLibraries/booc.exe
  2. 9
      src/AddIns/Misc/HtmlHelp2/Project/src/BaseControls/DynamicHelpPad.cs

BIN
src/AddIns/BackendBindings/Boo/RequiredLibraries/booc.exe

Binary file not shown.

9
src/AddIns/Misc/HtmlHelp2/Project/src/BaseControls/DynamicHelpPad.cs

@ -148,7 +148,14 @@ namespace HtmlHelp2 @@ -148,7 +148,14 @@ namespace HtmlHelp2
private void BuildNewChild(string sectionName, string topicName, string topicUrl)
{
dynamicHelpBrowser.BuildNewChild(sectionName, topicName, topicUrl);
try {
dynamicHelpBrowser.BuildNewChild(sectionName, topicName, topicUrl);
} catch (NullReferenceException ex) {
// HACK: the code doesn't properly check for nulls, so we just ignore errors.
// There were bug reports with BuildNewChild crashing simply on a layout change.
// e.g. http://community.sharpdevelop.net/forums/t/9180.aspx
LoggingService.Warn(ex);
}
}
#endregion

Loading…
Cancel
Save