261013_03_ENH: bfcache CTI 재로그인 확인용 임시 로그 제거
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -769,12 +769,8 @@ const connectAndLogin = (params: CtiLoginParams) => {
|
||||
const suspendForPageHide = () => {
|
||||
if (!currentLoginParams) return;
|
||||
stopReconnectLoop();
|
||||
if (currentAgentLoginId && connectionState === "open") {
|
||||
if (isCallInProgress()) {
|
||||
console.log("[CTI][TEMP_LOG] pagehide logout skipped, call is in progress"); // TEMP_CTI_LOG
|
||||
} else {
|
||||
send({ ZCommand: "Logout", AgentLoginID: currentAgentLoginId });
|
||||
}
|
||||
if (currentAgentLoginId && connectionState === "open" && !isCallInProgress()) {
|
||||
send({ ZCommand: "Logout", AgentLoginID: currentAgentLoginId });
|
||||
}
|
||||
teardownSocket();
|
||||
};
|
||||
@@ -784,7 +780,6 @@ const resumeFromPageShow = () => {
|
||||
const params = currentLoginParams;
|
||||
if (!params) return;
|
||||
if (connectionState === "open" || connectionState === "connecting") return;
|
||||
console.log("[CTI][TEMP_LOG] pageshow resume, reconnecting"); // TEMP_CTI_LOG
|
||||
connectAndLogin(params);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user