Skip to content

Commit ed99183

Browse files
author
Dorian Birraux
committed
Minor fix in init script
1 parent b52f7fe commit ed99183

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

wolframclient/evaluation/kernel/initkernel.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,12 @@ no matter the total size (tested with 80MB) *)
136136
Composition[ClientLibrary`info, ReleaseHold]
137137
];
138138

139-
socketEventHandler[data_] := Module[
139+
socketEventHandler[data_] := Block[
140140
{expr},
141141
ClientLibrary`debug["Evaluating a new expression."];
142142
expr = EvaluationData[BinaryDeserialize[data]];
143143
(* Produce inline InputForm string messages. *)
144-
expr = Prepend[
144+
expr = Append[
145145
expr, {
146146
"Result" -> BinarySerialize[expr["Result"]],
147147
"MessagesText" -> Map[

0 commit comments

Comments
 (0)