Halt is called from the exit() system call while deallocate is unused. So to clear up things, just use halt and remove deallocate.
Halt is called from the exit() system call while deallocate is unused. So to clear up things, just use halt and remove deallocate.