Skip to content

Commit 111da6f

Browse files
committed
just use the callback
1 parent 9bfdfe2 commit 111da6f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/xinterpreter_raw.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,7 @@ namespace xpyt
225225
py::globals()["_ii"] = py::globals()["_i"];
226226
py::globals()["_i"] = code;
227227

228-
kernel_res = xeus::create_successful_reply(execution_count);
229-
230-
return kernel_res;
228+
cb(kernel_res);
231229
}
232230

233231
nl::json raw_interpreter::complete_request_impl(

0 commit comments

Comments
 (0)