-
Hi, If there is currently no method, I think the message parameter should be added in the following method Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hi @zzkkui thank you for your question, I assume the resources you want to release are on the backend? Correct me if I'm wrong there. So basically, the theia/packages/core/src/node/messaging/messaging-contribution.ts Lines 109 to 117 in 33dea9b In order to use that to release your resources, you will have to add your own function to the theia/packages/core/src/node/messaging/messaging-contribution.ts Lines 217 to 227 in 33dea9b |
Beta Was this translation helpful? Give feedback.
Hi @zzkkui thank you for your question,
I assume the resources you want to release are on the backend? Correct me if I'm wrong there. So basically, the
MessagingContribution
will callterminate
on the web socket once it doesn't answer for 30 seconds. See here:theia/packages/core/src/node/messaging/messaging-contribution.ts
Lines 109 to 117 in 33dea9b
In order to use that to release your resources, you will have to add your own function to the
onClose