Fix : 치요님 후원 일시 중단 기능 추가

This commit is contained in:
qsxft258@gmail.com 2026-06-05 00:13:16 +09:00
parent 2523d45646
commit 214b65d6b3
2 changed files with 4 additions and 4 deletions

View File

@ -315,7 +315,7 @@ namespace WefLab
private Queue<Action> mainThreadActions = new Queue<Action>();
private object actionLock = new object();
void OnEnable()
public void OnEnable()
{
if (!initialized)
{
@ -333,7 +333,7 @@ namespace WefLab
}
}
void OnDisable()
public void OnDisable()
{
// OnDestroy is NOT called on SetActive(false), so close the sockets here -
// otherwise the background WebSocket threads keep running while disabled.