Skip to content

Commit

Permalink
Do not move cell on send message
Browse files Browse the repository at this point in the history
  • Loading branch information
tvorogme committed May 12, 2024
1 parent db11e83 commit f2b82c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tvm-python/PyLiteClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class PyLiteClient {

int send_message(PyCell& cell) {
scheduler_.run_in_context_external(
[&] { send_closure(engine, &LiteClientActorEngine::send_message, std::move(cell.my_cell)); });
[&] { send_closure(engine, &LiteClientActorEngine::send_message, cell.my_cell); });
auto response = wait_response();
if (response->success) {
SuccessBufferSlice* answer = dynamic_cast<SuccessBufferSlice*>(response.get());
Expand Down

0 comments on commit f2b82c3

Please sign in to comment.