-
Notifications
You must be signed in to change notification settings - Fork 79
[wip] Fixing memory leaks #1170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| public var events: ClusterEventStream { | ||
| self._events | ||
| } | ||
|
|
||
| internal var _events: ClusterEventStream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't know why I've added this 🫠 revert back
|
The failure was #1089 again. We can merge with it failing as we need to investigate that one separately |
|
We can disable the test until then as well |
| deinit { | ||
| // self.shutdownFlag.destroy() | ||
|
|
||
| print("\(Self.self) DEINIT") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't forget to remove
|
|
||
| @usableFromInline | ||
| internal var _system: ClusterSystem? | ||
| internal weak var _system: ClusterSystem? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
heh yeah i can see that... previously actor trees destroyed things and now we don't i guess
Tests/DistributedClusterTests/Metrics/SWIMActorPeerMetricsTests.swift
Outdated
Show resolved
Hide resolved
|
Still missing the latest changes probably and requiring 6.0? |
939bee8 to
990ba04
Compare
# Conflicts: # Sources/DistributedActorsTestKit/LogCapture.swift # Sources/DistributedCluster/Cluster/ClusterShell.swift # Sources/DistributedCluster/Cluster/SWIM/SWIMActor.swift # Sources/DistributedCluster/Cluster/Transport/RemoteClusterActorPersonality.swift # Sources/DistributedCluster/ClusterSystem.swift # Sources/DistributedCluster/LifecycleMonitoring/LifecycleWatch.swift # Sources/DistributedCluster/LifecycleMonitoring/LifecycleWatchContainer.swift # Tests/DistributedClusterTests/Metrics/SWIMActorPeerMetricsTests.swift
format fix
d6204a6 to
9705a56
Compare
RP to fix #1168