dflib / jjava

A Jupyter kernel for Java notebooks
MIT License
18 stars 2 forks source link

Rendering stale var #21

Closed andrus closed 5 months ago

andrus commented 5 months ago

Just noticed this happenning out of the blue (it worked before on the same version of Jupyter and jjava). Consider the following code:

var df1 = Csv.load("../data/games.csv");
df1
  1. I run the notebook cell in Jupyter once, it prints the contexts of the CSV
  2. I change one cell in games.csv in a text editor, save
  3. Rerun the cell above. It still displays the old data

The few ways to get it unstuck:

stariy95 commented 5 months ago

It was caused by the memory leak fix (#4), different snippets could share the same class and we didn't check for that.