Functions to remove tj_log_outchannel pointers from stack.