Explorar el Código

Added Exception Handling for malformed Linked Properties

frogsoftware hace 1 año
padre
commit
65652be0e9
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  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;
             }
         }