fix: correctly mark Trigger as clean when it is re-tracked (closes #1948, #2048) (#2059)

This commit is contained in:
Greg Johnston 2023-11-22 09:29:25 -05:00 committed by GitHub
parent 0ce4ee8a7a
commit 061213ca78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,6 +94,7 @@ impl Trigger {
let diagnostics = diagnostics!(self);
with_runtime(|runtime| {
runtime.update_if_necessary(self.id);
self.id.subscribe(runtime, diagnostics);
})
.is_ok()