diff --git a/ddtrace/appsec/_iast/_taint_tracking/_native.cpp b/ddtrace/appsec/_iast/_taint_tracking/_native.cpp index 1048767e6db..af973ecd7e9 100644 --- a/ddtrace/appsec/_iast/_taint_tracking/_native.cpp +++ b/ddtrace/appsec/_iast/_taint_tracking/_native.cpp @@ -61,18 +61,8 @@ static struct PyModuleDef ops = { PyModuleDef_HEAD_INIT, PYBIND11_MODULE(_native, m) { - // std::string iast_enabled = std::string(std::getenv("DD_IAST_ENABLED")); - // std::transform( - // iast_enabled.begin(), iast_enabled.end(), iast_enabled.begin(), [](unsigned char c) { return std::tolower(c); - // }); - // if (iast_enabled != "true" && iast_enabled != "1") - // return; - initializer = make_unique(); initializer->create_context(); - // Cleanup code to be run at the end of the interpreter lifetime: - // auto atexit = py::module::import("atexit"); - // atexit.attr("register")(py::cpp_function([] { initializer.reset(); })); m.doc() = "Native Python module";