summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewermacosx.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <118752495+marchcat@users.noreply.github.com>2026-09-17 23:52:56 +0300
committerGitHub <noreply@github.com>2026-09-17 23:52:56 +0300
commitf767219366b8dbaeea95a22bd9953a587f473298 (patch)
treea7391284f314eaf24e9684a573af7e80a0dd38ba /indra/newview/llappviewermacosx.cpp
parent9bc42804f6f574d24467ee9f56e7e67d268f0c61 (diff)
Revert #5856 OS hibernation prevention (#6340)
Diffstat (limited to 'indra/newview/llappviewermacosx.cpp')
-rw-r--r--indra/newview/llappviewermacosx.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/indra/newview/llappviewermacosx.cpp b/indra/newview/llappviewermacosx.cpp
index c188bb459f..f914a76fc6 100644
--- a/indra/newview/llappviewermacosx.cpp
+++ b/indra/newview/llappviewermacosx.cpp
@@ -126,7 +126,6 @@ bool pumpMainLoop()
void cleanupViewer()
{
- set_os_hibernation_mode(0); // restore default OS hibernation behavior
if(!LLApp::isError())
{
if (gViewerAppPtr)
@@ -429,12 +428,6 @@ bool LLAppViewerMacOSX::initSLURLHandler()
return true;
}
-void LLAppViewerMacOSX::setOSHibernationMode(eHibernationMode mode)
-{
- // pass to objective-c++
- set_os_hibernation_mode((int)mode);
-}
-
std::string LLAppViewerMacOSX::generateSerialNumber()
{
char serial_md5[MD5HEX_STR_SIZE]; // Flawfinder: ignore