File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ class DocumentProcessManager {
312
312
this . _processPromise = null ;
313
313
}
314
314
315
- async createNewProcessAsync ( ) {
315
+ async _createNewProcessAsync ( ) {
316
316
let processFactory = await this . _processFactoryPromise ;
317
317
let process = await processFactory . createProcessAsync ( ) ;
318
318
this . _processesCreated += 1 ;
@@ -322,15 +322,15 @@ class DocumentProcessManager {
322
322
async getOrCreateProcessAsync ( ) {
323
323
// BEGIN CRITICAL SECTION (no awaiting below)
324
324
if ( this . _processPromise === null ) {
325
- this . _processPromise = this . createNewProcessAsync ( ) ;
325
+ this . _processPromise = this . _createNewProcessAsync ( ) ;
326
326
// END CRITICAL SECTION (no awaiting above)
327
327
} else {
328
328
// END CRITICAL SECTION (no awaiting above)
329
329
}
330
330
let process = await this . _processPromise ;
331
331
// BEGIN CRITICAL SECTION (no awaiting below)
332
332
while ( process . isTainted ( ) ) {
333
- this . _processPromise = this . createNewProcessAsync ( ) ;
333
+ this . _processPromise = this . _createNewProcessAsync ( ) ;
334
334
// END CRITICAL SECTION (no awaiting above)
335
335
process = await this . _processPromise ;
336
336
}
You can’t perform that action at this time.
0 commit comments