Browse Source

Fix null reference exception in Ruby test teardown.

pull/28/head
Matt Ward 13 years ago
parent
commit
5331d49c50
  1. 6
      src/AddIns/BackendBindings/Scripting/Test/Designer/LoadFormTestsBase.cs

6
src/AddIns/BackendBindings/Scripting/Test/Designer/LoadFormTestsBase.cs

@ -28,8 +28,10 @@ namespace ICSharpCode.Scripting.Tests.Designer @@ -28,8 +28,10 @@ namespace ICSharpCode.Scripting.Tests.Designer
[TestFixtureTearDown]
public void TearDownFixture()
{
form.Dispose();
}
if (form != null) {
form.Dispose();
}
}
/// <summary>
/// Called at the start of SetUpFixture method before anything is setup.

Loading…
Cancel
Save