drm_hwcomposer: CI: Process every file with clang-tidy.
Currently part of header files isn't processed by CI.
Signed-off-by: Roman Stratiienko <roman.o.stratiienko@globallogic.com>
diff --git a/drm/ResourceManager.cpp b/drm/ResourceManager.cpp
index 8baa4cb..2cd393f 100644
--- a/drm/ResourceManager.cpp
+++ b/drm/ResourceManager.cpp
@@ -24,6 +24,8 @@
#include <sstream>
#include "bufferinfo/BufferInfoGetter.h"
+#include "drm/DrmDevice.h"
+#include "drm/DrmPlane.h"
#include "utils/log.h"
#include "utils/properties.h"
@@ -32,6 +34,10 @@
ResourceManager::ResourceManager() : num_displays_(0) {
}
+ResourceManager::~ResourceManager() {
+ uevent_listener_.Exit();
+}
+
int ResourceManager::Init() {
char path_pattern[PROPERTY_VALUE_MAX];
// Could be a valid path or it can have at the end of it the wildcard %