[System][Feedback] Fix Tizen.System.Feedback not to throw exception in destructor
authorHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 17 May 2022 11:11:46 +0000 (20:11 +0900)
committerhyotaekshim <35134695+hyotaekshim@users.noreply.github.com>
Wed, 18 May 2022 07:27:54 +0000 (16:27 +0900)
src/Tizen.System.Feedback/Feedback/Feedback.cs

index de14cd4..3e6a79b 100755 (executable)
@@ -163,13 +163,6 @@ namespace Tizen.System
             if (res != Interop.Feedback.FeedbackError.None)
             {
                 Log.Warn(LogTag, string.Format("Failed to deinitialize feedback. err = {0}", res));
-                switch (res)
-                {
-                    case Interop.Feedback.FeedbackError.NotInitialized:
-                        throw new Exception("Not initialized");
-                    default:
-                        throw new InvalidOperationException("Failed to initialize");
-                }
             }
         }