Skip to content
  • Ben Boeckel's avatar
    variable_watch: Prevent making extra entries in the watch map · 00ce12a3
    Ben Boeckel authored and Brad King's avatar Brad King committed
    When removing a watch on a variable, using the operator [] on the
    internal map will create an empty watch if the variable doesn't have any
    existing watches. Rather than creating this empty structure in the map,
    return if there isn't a watch on the variable already.
    00ce12a3