/**
 *
 * Agora Real Time Engagement
 * Created by Wei Hu in 2022-04.
 * Copyright (c) 2022 Agora IO. All rights reserved.
 *
 */
#include "rte_runtime/binding/nodejs/src/common/clean.h"

#include <assert.h>

#include "macro/mark.h"

#define ZF_LOG_TAG "Node"
#include "zf_log.h"

// These functions are stay here for possible future usage.

void rte_nodejs_clean_env_sync(UNUSED void* arg) {
  ZF_LOGV(">>> Node environment is cleaned sync.");
}

void rte_nodejs_clean_env_async(napi_async_cleanup_hook_handle handle,
                                UNUSED void* data) {
  ZF_LOGV(">>> Node environment is cleaned async.");
  napi_remove_async_cleanup_hook(handle);
}
