Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 0de2be9

Browse files
Remove unused full_cleanup parameter
1 parent 3d14d24 commit 0de2be9

File tree

3 files changed

+5
-14
lines changed

3 files changed

+5
-14
lines changed

src/pal/src/include/pal/init.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,10 @@ void PALShutdown( void );
4242
Function:
4343
PALCommonCleanup
4444
45-
Utility function to free any resource used by the PAL.
45+
Utility function to prepare for shutdown.
4646
47-
Parameters :
48-
full_cleanup: TRUE: cleanup only what's needed and leave the rest
49-
to the OS process cleanup
50-
FALSE: full cleanup
5147
--*/
52-
void PALCommonCleanup( BOOL full_cleanup );
48+
void PALCommonCleanup();
5349

5450
extern Volatile<INT> init_count;
5551

src/pal/src/init/pal.cpp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -745,16 +745,11 @@ PAL_EntryPoint(
745745
Function:
746746
PALCommonCleanup
747747
748-
Utility function to free any resource used by the PAL.
748+
Utility function to prepare for shutdown.
749749
750-
Parameters :
751-
step: selects the desired cleanup step
752-
full_cleanup: FALSE: cleanup only what's needed and leave the rest
753-
to the OS process cleanup
754-
TRUE: full cleanup
755750
--*/
756751
void
757-
PALCommonCleanup(BOOL full_cleanup)
752+
PALCommonCleanup()
758753
{
759754
static bool cleanupDone = false;
760755

src/pal/src/thread/process.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,7 @@ void PROCCleanupProcess(BOOL bTerminateUnconditionally)
14011401
/* Declare the beginning of shutdown */
14021402
PALSetShutdownIntent();
14031403

1404-
PALCommonCleanup(FALSE);
1404+
PALCommonCleanup();
14051405

14061406
/* This must be called after PALCommonCleanup */
14071407
PALShutdown();

0 commit comments

Comments
 (0)