| Previous | Next |
| STATUS_ALREADY_HAS_STREAM_ID | STATUS_ALREADY_INITIALIZED |
STATUS_JOB_NOT_EMPTY
The job still contains child objects or processes
Windows returns STATUS_JOB_NOT_EMPTY while handling job, task, callback, or isolation state. A lifecycle operation required an empty job, but membership or nested children remain. Closing one process handle does not necessarily remove the process from the job immediately.
Enumerate active processes and nested jobs, coordinate termination, and wait for completion-port notifications before retrying destructive operations.
Enumerate job membership immediately before the failing operation, including nested jobs where applicable. This distinguishes a process that is still shutting down from a bookkeeping bug that leaves ownership attached after exit.
References
Looking for a different code? Search another status or error code.