Browse Source

SD2-727 - Null reference exception on running unit test. On running the test a second time the LoadAssemblyList method was invoking the callback without using the SafeThreadAsyncCall which meant the UpdateProjectTitles method was not being called until after the SelectTest call. The SelectTest method was then unable to match the project name with any node in the treeview.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1222 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Matt Ward 20 years ago
parent
commit
bfddb042ed
  1. 2
      src/AddIns/Misc/UnitTesting/Src/PadContent.cs

2
src/AddIns/Misc/UnitTesting/Src/PadContent.cs

@ -127,7 +127,7 @@ namespace ICSharpCode.UnitTesting @@ -127,7 +127,7 @@ namespace ICSharpCode.UnitTesting
{
if (autoLoadItems) {
if (callback != null)
callback();
WorkbenchSingleton.SafeThreadAsyncCall(callback);
} else {
ReloadAssemblyList(callback);
}

Loading…
Cancel
Save