Release 4.0.0-preview1-00258
[platform/core/csapi/tizenfx.git] / src / ElmSharp / ElmSharp / Image.cs
old mode 100755 (executable)
new mode 100644 (file)
index 3f1bc1c..a6a499d
@@ -345,7 +345,10 @@ namespace ElmSharp
                 {
                     IntPtr evasObj = Interop.Elementary.elm_image_object_get(RealHandle);
                     if (evasObj != IntPtr.Zero)
+                    {
                         _imageObject = new EvasImage(this, evasObj);
+                        _imageObject.Deleted += (s, e) => _imageObject = null;
+                    }
                 }
                 return _imageObject;
             }