Fix docs generation.

This commit is contained in:
Joseph Cloutier
2022-03-01 14:58:54 -05:00
parent 363b397903
commit 81a2d401e8
2 changed files with 3 additions and 1 deletions

View File

@@ -442,7 +442,7 @@ abstract Message(Dynamic) from Dynamic to Dynamic
// so, there's a good chance it has thousands or millions of fields, // so, there's a good chance it has thousands or millions of fields,
// which could take entire seconds to process. // which could take entire seconds to process.
&& (object.byteLength == null || object.byteOffset == null && (object.byteLength == null || object.byteOffset == null
|| object.buffer == null || !Std.isOfType(object.buffer, lime.utils.ArrayBuffer)); || object.buffer == null || !Std.isOfType(object.buffer, #if haxe4 js.lib.ArrayBuffer #else js.html.ArrayBuffer #end));
} }
#end #end

View File

@@ -222,11 +222,13 @@ class ThreadPool extends WorkOutput
} }
__activeJobs.clear(); __activeJobs.clear();
#if lime_threads
// Cancel idle threads if there are more than the minimum. // Cancel idle threads if there are more than the minimum.
while (idleThreads > minThreads) while (idleThreads > minThreads)
{ {
__idleThreads.pop().sendMessage(new ThreadEvent(EXIT, null)); __idleThreads.pop().sendMessage(new ThreadEvent(EXIT, null));
} }
#end
// Clear the job queue. // Clear the job queue.
if (error != null) if (error != null)