[skip ci] observe field fix
This commit is contained in:
1 parent
ee506e1ff9
commit
0d3c7e4f3f
2 files changed
+6
-1
No files matched your search
@@ -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/),
|
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).
|
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
|
## [0.35.3] - 2024-12-29
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
import "pkg:/source/utils/MessagePortUtils.bs"
|
||||||
import "pkg:/source/utils/Types.bs"
|
import "pkg:/source/utils/Types.bs"
|
||||||
|
|
||||||
namespace CancellationUtils
|
namespace CancellationUtils
|
||||||
@@ -15,7 +16,7 @@ namespace CancellationUtils
|
|||||||
return
|
return
|
||||||
end if
|
end if
|
||||||
|
|
||||||
cancellation.node.ObserveFieldScoped(cancellation.field, messagePort)
|
MessagePortUtils.ObserveFieldScopedExSafe(cancellation.node, cancellation.field, messagePort)
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function UnobserveCancellationScoped(cancellation as dynamic) as void
|
function UnobserveCancellationScoped(cancellation as dynamic) as void
|
||||||
|
|||||||
Reference in new issue
Block a user