Restart computer during print

I am curious, if I started a print job in octoprint (logged into octoprint via chrome on my pc, uploaded file and started the print). Can I reboot that computer while the print is going or will it kill the print? I could just test it but I already have a few prints going now (couple hours in).

thanks

You cannot restart the computer running Octoprint. You can restart the computer connecting to that one. So, if you are using a Pi, for example, you can't restart the Pi but you can restart your PC.

Yes i have octoprint on a pi and connect to it via web browser on my pc, So restarting the pc is safe. thanks.

...hence the reason why we dedicate an inexpensive Raspberry Pi 3B to remain on throughout the print.