Skip to content

Commit

Permalink
return _sessionManager._project
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleLittleCloud committed Oct 21, 2024
1 parent 4d35fc8 commit 1026620
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -479,12 +479,11 @@ internal class HotReloadState : IProjectHotReloadSessionCallback
// TODO: Support restarting the session.
public bool SupportsRestart => true;

public UnconfiguredProject? Project { get; }
public UnconfiguredProject? Project => _sessionManager._project;

public HotReloadState(ProjectHotReloadSessionManager sessionManager)
{
_sessionManager = sessionManager;
Project = _sessionManager._project;
}

internal void OnProcessExited(object sender, EventArgs e)
Expand Down

0 comments on commit 1026620

Please sign in to comment.