Problems with register not being preserved after closing instance (Neovim)
### Expected behavior.

Tested OS: 
ubuntu 24.04
ubuntu 22.04 

Problems with register not being preserved after closing and reopening the instance (Neovim)
Unlike Vim, this issue occurs in Neovim. After closing and reopening a Neovim instance, the contents of the register do not persist when running the :reg command, as shown in the screenshot.

:reg 
**with vim**
On v2.4.0
![image](https://github.com/user-attachments/assets/f520f465-8fdb-4487-a8e9-3022a9fcb280)
No issues

**with nvim**
On v2.4.0
![image](https://github.com/user-attachments/assets/9125fcd8-42b2-47a4-8be8-fd1d068b6c82)
Issue present

On v2.3.0
![image](https://github.com/user-attachments/assets/9125fcd8-42b2-47a4-8be8-fd1d068b6c82)
Issue present

On v2.2.0
![image](https://github.com/user-attachments/assets/a7153442-8f6e-4199-80d5-8ab94b4891eb)
No issues

As can see in the picture above, the problem has been occurring v2.3.0 and later.
The problem does not occur in versions 2.2.0 and earlier.


### The reproduce ways from Vim starting.

Problems with register not being preserved after closing and reopening the instance (Neovim)


### Output of the `:SPDebugInfo!`

_No response_