Ver código fonte

Added Exception Handling for malformed Linked Properties

frogsoftware 1 ano atrás
pai
commit
65652be0e9
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3 2
      InABox.Core/BaseObject.cs

+ 3 - 2
InABox.Core/BaseObject.cs

@@ -120,10 +120,11 @@ namespace InABox.Core
 
                     PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
                 }
-                finally
+                catch (Exception e)
                 {
-                    bApplyingChanges = false;
+                    
                 }
+                bApplyingChanges = false;
             }
         }