mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-30 20:33:44 +01:00
Added Proper Unsubsribe from OnStateUpdated.
Ensures that ReapplyAutomation is called from OnAutomationChange when change occurs. Reformatted temporary Signature locations and comments to align with the structure of the respective classes.
This commit is contained in:
parent
9c57935a87
commit
1d185e9bfe
4 changed files with 39 additions and 45 deletions
|
|
@ -54,6 +54,7 @@ public sealed class StateApi : IGlamourerApiState, IApiService, IDisposable
|
|||
public void Dispose()
|
||||
{
|
||||
_stateChanged.Unsubscribe(OnStateChanged);
|
||||
_stateUpdated.Unsubscribe(OnStateUpdated);
|
||||
_gPose.Unsubscribe(OnGPoseChange);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue