Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,11 @@ public async ValueTask StartSessionAsync(CancellationToken cancellationToken)
{
sessionState.IsSessionActive = true;

if (_disabled)
{
return;
}
// Reset the disabled flag so that a previous session's failure does not permanently
// disable Hot Reload for subsequent sessions. Any exception that caused _disabled to be
// set is a product bug, but resetting here gives the user a chance to try again after
// restarting the debug session, instead of having to restart the Roslyn process.
_disabled = false;
Comment thread
noiseonwires marked this conversation as resolved.
Comment thread
noiseonwires marked this conversation as resolved.

try
{
Expand Down
Loading