Photon-v2 icon indicating copy to clipboard operation
Photon-v2 copied to clipboard

SDL resource as shared_ptr may introduce cyclic reference

Open TzuChieh opened this issue 7 years ago • 0 comments

The structure of Photon's resource system is becoming more and more complex, increasing the risk of smart pointer cyclic reference. Consider using weak_ptr or just raw pointers.

TzuChieh avatar Jan 22 '18 15:01 TzuChieh