i dispatch the MessageReceived callback to the main ui thread to update ui control and wait the user to choose,when i get user selection,and call Reply, i got the error message "contains corrupted data".
this is because when i save the receviedMessage,and dispatch the run flow to main ui,current run flow will return ,and then the receivedMessage will push to pool again,and then the receviedMessage's socket and threadId will lost.
i dispatch the MessageReceived callback to the main ui thread to update ui control and wait the user to choose,when i get user selection,and call Reply, i got the error message "contains corrupted data".
this is because when i save the receviedMessage,and dispatch the run flow to main ui,current run flow will return ,and then the receivedMessage will push to pool again,and then the receviedMessage's socket and threadId will lost.