Skip to content

Commit f5f0ffe

Browse files
committed
FIXED: Closing Crowbar raises exception and writes to unhandled-exception log.
1 parent 8da7e1a commit f5f0ffe

File tree

2 files changed

+27
-18
lines changed

2 files changed

+27
-18
lines changed

Crowbar/Widgets/Main Tabs/DownloadUserControl.Designer.vb

+13-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Crowbar/Widgets/Main Tabs/DownloadUserControl.vb

+14-14
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@ Public Class DownloadUserControl
1818
InitializeComponent()
1919
End Sub
2020

21-
'UserControl overrides dispose to clean up the component list.
22-
<System.Diagnostics.DebuggerNonUserCode()>
23-
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
24-
Try
25-
If disposing Then
26-
Me.Free()
27-
If components IsNot Nothing Then
28-
components.Dispose()
29-
End If
30-
End If
31-
Finally
32-
MyBase.Dispose(disposing)
33-
End Try
34-
End Sub
21+
''UserControl overrides dispose to clean up the component list.
22+
'<System.Diagnostics.DebuggerNonUserCode()>
23+
'Protected Overrides Sub Dispose(ByVal disposing As Boolean)
24+
' Try
25+
' If disposing Then
26+
' Me.Free()
27+
' If components IsNot Nothing Then
28+
' components.Dispose()
29+
' End If
30+
' End If
31+
' Finally
32+
' MyBase.Dispose(disposing)
33+
' End Try
34+
'End Sub
3535

3636
#End Region
3737

0 commit comments

Comments
 (0)