Skip to content

Commit

Permalink
FIXED: Closing Crowbar raises exception and writes to unhandled-excep…
Browse files Browse the repository at this point in the history
…tion log.
  • Loading branch information
ZeqMacaw committed Oct 27, 2019
1 parent 8da7e1a commit f5f0ffe
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 18 deletions.
17 changes: 13 additions & 4 deletions Crowbar/Widgets/Main Tabs/DownloadUserControl.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 14 additions & 14 deletions Crowbar/Widgets/Main Tabs/DownloadUserControl.vb
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ Public Class DownloadUserControl
InitializeComponent()
End Sub

'UserControl overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()>
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
Try
If disposing Then
Me.Free()
If components IsNot Nothing Then
components.Dispose()
End If
End If
Finally
MyBase.Dispose(disposing)
End Try
End Sub
''UserControl overrides dispose to clean up the component list.
'<System.Diagnostics.DebuggerNonUserCode()>
'Protected Overrides Sub Dispose(ByVal disposing As Boolean)
' Try
' If disposing Then
' Me.Free()
' If components IsNot Nothing Then
' components.Dispose()
' End If
' End If
' Finally
' MyBase.Dispose(disposing)
' End Try
'End Sub

#End Region

Expand Down

0 comments on commit f5f0ffe

Please sign in to comment.