Unsure why it could have misbehaved but latest Pre-releases are better than official 3.2 release at maintaining a running history.
3.2 only writes history on controlled shutdown and some exit strategies could circumvent that.
see also https://github.com/sumatrapdfreader/sumatrapdf/issues/1659
NOTE CTRL WWWW could result in no tabs to restore.
The underlying principle is there MUST be two or more tabs still active during closure/ shutdown to count as a “Session”.
CTRL Q or ALT F4 should work the same as hitting the top right X
Also if escape to exit is active then from fullscreen that should close and restore session again if there were two tabs open but not if only one tab was active.