diff options
author | Saurabh Shah <saurshah@codeaurora.org> | 2017-02-28 17:00:11 -0800 |
---|---|---|
committer | Saurabh Shah <saurshah@codeaurora.org> | 2017-03-01 11:20:04 -0800 |
commit | a57cf169f42eb7a7502ef620f8063797e26b363e (patch) | |
tree | 8f94d5e9a54e217fdade17c3fd9f595021b68e29 /libdrmutils/drm_master.h | |
parent | a228f120a59cf8c521d2fdd03c3614bd36e56609 (diff) | |
download | display-a57cf169f42eb7a7502ef620f8063797e26b363e.tar.gz |
sdm: Destroy singleton DRMMaster instance
Destroy singleton DRMMaster instance on teardown, this is important
for back to back API test runs
Change-Id: I27e5d2adcc9d0805281dd0c858eaed5af745b269
CRs-fixed: 1114808
Diffstat (limited to 'libdrmutils/drm_master.h')
-rw-r--r-- | libdrmutils/drm_master.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdrmutils/drm_master.h b/libdrmutils/drm_master.h index 8c32a1b9..15fae687 100644 --- a/libdrmutils/drm_master.h +++ b/libdrmutils/drm_master.h @@ -79,6 +79,7 @@ class DRMMaster { * -ENODEV if device cannot be opened or initilization fails */ static int GetInstance(DRMMaster **master); + static void DestroyInstance(); private: DRMMaster() {} |