refactor: memory leaks caused by behaviour collectors fixed
This commit is contained in:
@@ -7,7 +7,7 @@ namespace Syntriax.Engine.Core;
|
||||
/// Provides mechanisms for tracking additions and removals, and notifies subscribers when such events occur on the assigned <see cref="IUniverse"/>.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of objects tracked by the collector.</typeparam>
|
||||
public interface IBehaviourCollector<T> : IHasUniverse, IEnumerable<T> where T : class
|
||||
public interface IBehaviourCollector<T> : IHasUniverse where T : class
|
||||
{
|
||||
/// <summary>
|
||||
/// Event triggered when an object of type <typeparamref name="T"/> is added to the collector.
|
||||
|
Reference in New Issue
Block a user