From 5dc3a0239fdeeaeba7eda1cc2289c92a16dc4ff0 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Sun, 23 Mar 2025 10:05:31 -0500 Subject: [PATCH] fix release --- repertory/librepertory/include/platform/unix_platform.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repertory/librepertory/include/platform/unix_platform.hpp b/repertory/librepertory/include/platform/unix_platform.hpp index 23eaf714..ac89a572 100644 --- a/repertory/librepertory/include/platform/unix_platform.hpp +++ b/repertory/librepertory/include/platform/unix_platform.hpp @@ -51,8 +51,6 @@ private: [[nodiscard]] auto get_lock_file() -> std::string; private: - void release(); - [[nodiscard]] static auto wait_for_lock(int fd, std::uint8_t retry_count = 30u) -> int; @@ -62,6 +60,8 @@ public: [[nodiscard]] auto grab_lock(std::uint8_t retry_count = 30u) -> lock_result; + void release(); + [[nodiscard]] auto set_mount_state(bool active, const std::string &mount_location, int pid) -> bool;