[MetadataEditor] Dispose resource in ctor (#3403)
authorHaesu Gwon <haesu.gwon@samsung.com>
Tue, 17 Aug 2021 01:53:55 +0000 (10:53 +0900)
committerGitHub <noreply@github.com>
Tue, 17 Aug 2021 01:53:55 +0000 (10:53 +0900)
src/Tizen.Multimedia.Metadata/MetadataEditor/MetadataEditor.cs

index a7fa284..79dc010 100644 (file)
@@ -82,7 +82,7 @@ namespace Tizen.Multimedia
             }
             catch (Exception)
             {
-                Interop.MetadataEditor.Destroy(_handle);
+                Dispose(false);
                 throw;
             }
         }