Skip to content

Commit

Permalink
copy Obsolete attributes to Akka.Persistence.TCK (#6465)
Browse files Browse the repository at this point in the history
* copy `Obsolete` attributes to Akka.Persistence.TCK

* removed bad method

* Make sure that old Dispose method is called inside DisposeAsync

* Remove Dispose, already implemented in TestKit

---------

Co-authored-by: Gregorius Soedharmo <arkatufus@yahoo.com>
  • Loading branch information
Aaronontheweb and Arkatufus authored Feb 28, 2023
1 parent c7ac23b commit f0a63c5
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions src/core/Akka.Persistence.TCK/PluginSpec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//-----------------------------------------------------------------------

using System;
using System.Threading.Tasks;
using Akka.Actor;
using Akka.Actor.Setup;
using Akka.Configuration;
Expand Down Expand Up @@ -64,23 +65,6 @@ public void Subscribe<T>(IActorRef subscriber)
{
Sys.EventStream.Subscribe(subscriber, typeof (T));
}


public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}

/// <summary>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</summary>
/// <param name="disposing">if set to <c>true</c> the method has been called directly or indirectly by a
/// user's code. Managed and unmanaged resources will be disposed.<br />
/// if set to <c>false</c> the method has been called by the runtime from inside the finalizer and only
/// unmanaged resources can be disposed.</param>
protected virtual void Dispose(bool disposing)
{
//if (disposing) FSMBase.Shutdown();
}
}
}

0 comments on commit f0a63c5

Please sign in to comment.