Fix : 치요님 후원 일시 중단 기능 추가
This commit is contained in:
parent
2523d45646
commit
214b65d6b3
BIN
Assets/ResourcesData/Project/260605_치요님방송/260605_치요님방송_학교옥상.unity
(Stored with Git LFS)
BIN
Assets/ResourcesData/Project/260605_치요님방송/260605_치요님방송_학교옥상.unity
(Stored with Git LFS)
Binary file not shown.
@ -315,7 +315,7 @@ namespace WefLab
|
|||||||
private Queue<Action> mainThreadActions = new Queue<Action>();
|
private Queue<Action> mainThreadActions = new Queue<Action>();
|
||||||
private object actionLock = new object();
|
private object actionLock = new object();
|
||||||
|
|
||||||
void OnEnable()
|
public void OnEnable()
|
||||||
{
|
{
|
||||||
if (!initialized)
|
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 -
|
// OnDestroy is NOT called on SetActive(false), so close the sockets here -
|
||||||
// otherwise the background WebSocket threads keep running while disabled.
|
// otherwise the background WebSocket threads keep running while disabled.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user