R3ZV / beekeeping

Bee game for OOP course
0 stars 0 forks source link

Destructor #10

Closed R3ZV closed 7 months ago

R3ZV commented 7 months ago

Check why the destructor is called too early.

R3ZV commented 7 months ago

Fixed in 815871b

Bug was due to having two instances of the same textures and trying to free one of them while another was active. So to fix it we made it a shared pointer to have reference counting.