OSDN Git Service
(root)
/
opentween
/
open-tween.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bec6b94
)
ImageListViewItemのImage.DisposeをDisposeからFinalizeへ変更
author
kiri_feather
<kiri_feather@users.sourceforge.jp>
Mon, 13 Sep 2010 15:07:29 +0000
(15:07 +0000)
committer
Kimura Youichi
<kim.upsilon@bucyou.net>
Sat, 18 Feb 2012 14:15:27 +0000
(23:15 +0900)
git-svn-id: http://svn.sourceforge.jp/svnroot/tween/trunk@861
e39ad16e
-3079-482e-bb30-
4b4d378143b6
Tween/ImageListViewItem.vb
patch
|
blob
|
history
diff --git
a/Tween/ImageListViewItem.vb
b/Tween/ImageListViewItem.vb
index
257688e
..
ade2c43
100644
(file)
--- a/
Tween/ImageListViewItem.vb
+++ b/
Tween/ImageListViewItem.vb
@@
-1,6
+1,5
@@
Public Class ImageListViewItem
Inherits ListViewItem
- Implements IDisposable
Public Sub New(ByVal items() As String, ByVal imageKey As String)
MyBase.New(items, imageKey)
@@
-8,8
+7,11
@@
Public Property Image As Image
- Public Sub Dispose() Implements IDisposable.Dispose
- Me.Image.Dispose()
- Me.Image = Nothing
+ Protected Overrides Sub Finalize()
+ If Me.Image IsNot Nothing Then
+ Me.Image.Dispose()
+ Me.Image = Nothing
+ End If
+ MyBase.Finalize()
End Sub
End Class