Skip to content

Commit c0c1eed

Browse files
committed
fixup docs
1 parent 8f23379 commit c0c1eed

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

src/mono/System.Private.CoreLib/src/System/Threading/WebWorkerEventLoop.Browser.Threads.Mono.cs

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,16 @@ internal static void StartExitable(Thread thread, bool captureContext)
8383

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

0 commit comments

Comments
 (0)