[skip ci] observe field fix

This commit is contained in:
Brahim Hadriche committed 2024-12-29 11:35:19 -05:00
1 parent ee506e1ff9
commit 0d3c7e4f3f
2 files changed
+6 -1

No files matched your search

+4
View File
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
- Nothing worth mentioning yet.
## [0.35.3] - 2024-12-29
### Fixed
@@ -1,3 +1,4 @@
import "pkg:/source/utils/MessagePortUtils.bs"
import "pkg:/source/utils/Types.bs"
namespace CancellationUtils
@@ -15,7 +16,7 @@ namespace CancellationUtils
return
end if
cancellation.node.ObserveFieldScoped(cancellation.field, messagePort)
MessagePortUtils.ObserveFieldScopedExSafe(cancellation.node, cancellation.field, messagePort)
end function
function UnobserveCancellationScoped(cancellation as dynamic) as void