MCJack123 / craftos2

A fast, modern, and feature-filled ComputerCraft emulator written in C++.
https://www.craftos-pc.cc
Other
230 stars 27 forks source link

CraftOS-PC Accelerated hangs when opening new computer #356

Closed michielp1807 closed 3 months ago

michielp1807 commented 3 months ago

Describe the bug When you (or a Lua program) opens a new computer, CraftOS-PC Accelerated, inputs in the new computer are really slow, and the original computer seems to freeze and become unusable.

To Reproduce Steps to reproduce the behavior:

  1. Open CraftOS-PC Accelerated v2.8+
  2. Type attach 1 computer
  3. Try to interact with CraftOS-PC to see how it hangs

Expected behavior Opening a new computer should work normally, like it did in versions before v2.8. In CraftOS-PC Accelerated v2.7.5 everything works as expected. The non-accelerated version also does not have this problem.

Environment (please complete the following information):

MCJack123 commented 3 months ago

This is fixed in the latest commit.