bodleian / archiox-mirador-plugin

An experimental plugin to display depth information captured with Lucida or Selene scanners from FactumARTE. However, the plug-in can present any normal map/albedo map combination produced from any technique.
MIT License
1 stars 0 forks source link

Investigate Threejs cleanup #123

Open BeebBenjamin opened 3 weeks ago

BeebBenjamin commented 3 weeks ago

@tdungate noticed a memory leak on Windows when using the plug-in in chrome. This got worse the more he toggled the Threejs canvas on and off. I think, garbage collection isn't disposing of contexts properly, so I think we should handle it in the plug-in and clean up better.

BeebBenjamin commented 1 week ago

Primary fix in place. Needs performance testing.