From 15bcf71aaf90c4e7d7031a3094e0b0cd0b3a4460 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 7 Feb 2021 14:28:53 +0100 Subject: [PATCH] Removed debug prints --- source/helpers/plugin_handler.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/source/helpers/plugin_handler.cpp b/source/helpers/plugin_handler.cpp index 1b8f493f1..2f244b1f9 100644 --- a/source/helpers/plugin_handler.cpp +++ b/source/helpers/plugin_handler.cpp @@ -18,24 +18,16 @@ namespace hex { if (this->m_handle == nullptr) return; - printf("Loaded plugin %s\n", path.data()); - - this->m_initializePluginFunction = reinterpret_cast(dlsym(this->m_handle, symbolName.c_str())); - printf("Symbol %s at %p\n", symbolName.c_str(), this->m_initializePluginFunction); - } Plugin::~Plugin() { - printf("Plugin unloaded\n"); dlclose(this->m_handle); } void Plugin::initializePlugin() const { if (this->m_initializePluginFunction != nullptr) { - printf("Initializing plugin\n"); this->m_initializePluginFunction(); - printf("Initialized plugin\n"); } }