EventHandler: Remove unnecessary CPU usage info

This commit is contained in:
tt2468 2021-06-12 22:59:47 -07:00
parent 413b76d9a6
commit f608423045
2 changed files with 0 additions and 5 deletions

View File

@ -16,8 +16,6 @@ EventHandler::EventHandler(WebSocketServerPtr webSocketServer) :
{
blog(LOG_INFO, "[EventHandler::EventHandler] Setting up event handlers...");
_cpuUsageInfo = os_cpu_usage_info_start();
obs_frontend_add_event_callback(OnFrontendEvent, this);
signal_handler_t* coreSignalHandler = obs_get_signal_handler();
@ -37,8 +35,6 @@ EventHandler::~EventHandler()
{
blog(LOG_INFO, "[EventHandler::~EventHandler] Removing event handlers...");
os_cpu_usage_info_destroy(_cpuUsageInfo);
obs_frontend_remove_event_callback(OnFrontendEvent, this);
signal_handler_t* coreSignalHandler = obs_get_signal_handler();

View File

@ -42,7 +42,6 @@ class EventHandler
private:
WebSocketServerPtr _webSocketServer;
os_cpu_usage_info_t *_cpuUsageInfo;
std::atomic<bool> _obsLoaded;