Skip to content

Commit

Permalink
fixup docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdageek committed Apr 19, 2023
1 parent 8f23379 commit c0c1eed
Showing 1 changed file with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,16 @@ internal static void StartExitable(Thread thread, bool captureContext)

/// <summary>returns true if the current WebWorker has JavaScript objects that depend on the
/// current managed thread.</summary>
//
///
/// <remarks>If this returns false, the runtime is allowed to allow the current managed thread
/// to exit and for the WebWorker to be recycled by Emscripten for another managed
/// thread.</remarks>
//
// FIXME:
// https://github.com/dotnet/runtime/issues/85052 - unsettled promises are not the only relevant
// reasons for keeping a worker thread alive. We will need to add other conditions here.
internal static bool HasJavaScriptInteropDependents => HasUnsettledInteropPromises;
internal static bool HasJavaScriptInteropDependents
{
//
// FIXME:
// https://github.com/dotnet/runtime/issues/85052 - unsettled promises are not the only relevant
// reasons for keeping a worker thread alive. We will need to add other conditions here.
get => HasUnsettledInteropPromises;
}
}

0 comments on commit c0c1eed

Please sign in to comment.