mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-22 03:59:35 +08:00
修改Dispose()调用位置
This commit is contained in:
parent
8db6fd0512
commit
ba681814eb
@ -164,12 +164,12 @@ namespace Milimoe.FunGame.Core.Api.Transmittal
|
|||||||
{
|
{
|
||||||
if (SocketObject.SocketType == SocketMessageType.DataRequest)
|
if (SocketObject.SocketType == SocketMessageType.DataRequest)
|
||||||
{
|
{
|
||||||
Dispose();
|
|
||||||
Work = SocketObject;
|
Work = SocketObject;
|
||||||
Working = false;
|
Working = false;
|
||||||
DataRequestType type = SocketObject.GetParam<DataRequestType>(0);
|
DataRequestType type = SocketObject.GetParam<DataRequestType>(0);
|
||||||
if (type == RequestType)
|
if (type == RequestType)
|
||||||
{
|
{
|
||||||
|
Dispose();
|
||||||
_ResultData = SocketObject.GetParam<Hashtable>(1) ?? new();
|
_ResultData = SocketObject.GetParam<Hashtable>(1) ?? new();
|
||||||
_Result = RequestResult.Success;
|
_Result = RequestResult.Success;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user