Fix smart cell source pruning

This commit is contained in:
Jonatan Kłosko 2023-01-27 15:39:47 +01:00
parent 0df2fe4fd1
commit 238b20b925
2 changed files with 2 additions and 2 deletions

View file

@ -255,7 +255,7 @@ defprotocol Livebook.Runtime do
@type smart_cell_attrs :: map()
@typedoc """
Marks an part of smart cell source.
Marks a part of smart cell source.
Both the offset ans size are expressed in bytes.
"""

View file

@ -1849,7 +1849,7 @@ defmodule LivebookWeb.SessionLive do
defp after_operation(
socket,
_prev_socket,
{:smart_cell_started, _client_id, _cell_id, _delta, _js_view, _editor}
{:smart_cell_started, _client_id, _cell_id, _delta, _chunks, _js_view, _editor}
) do
prune_cell_sources(socket)
end