Layout.cs : the ClassName can be null. it should be checked before use.
Image.cs : the instance of "new MemoryStream()" should be disposed before end of function.
EvasImage.cs : the instance of "new MemoryStream()" should be disposed before end of function.
Change-Id: I069e1d6d1f5964f50164df97742317feeb26ca71
Interop.Evas.evas_object_image_memfile_set(RealHandle, data, dataArr.Length, IntPtr.Zero, IntPtr.Zero);
}
}
+ memstream.Dispose();
}
/// <summary>
}
}
+ memstream.Dispose();
+
return await tcs.Task;
}
{
set
{
- if (value.IsDefault)
+ if (value.IsDefault && ClassName != null)
{
string part = ClassName.ToLower().Replace("elm_", "") + "/" + "bg";
EdjeObject.DeleteColorClass(part);