Git Product home page Git Product logo

Comments (3)

vczh avatar vczh commented on September 28, 2024

怪了,那为啥同一个程序我已经好几年没看到崩溃了,如果是这种问题应该稳定崩溃才对。

from gacui.

bizehao avatar bizehao commented on September 28, 2024

在DEFINE_CACHED_RESOURCE_ALLOCATOR这个宏的实现里, 我估计是你的Dictionary实现的问题,因为我替换成std::map的话,这个Color作为key触发的就很明显,不过是另一种现象了,然后我追代码,发现这个比较运算一直计算为true,换个key就好了,再切成你的Dictionary 也正常了,再把Color的比较运算符还原,问题又出现了。

https://github.com/vczh-libraries/Release/tree/master/Tutorial/GacUI_Controls/Animation 这个例子才行,其他的确实不容易触发,这个动画里这个好多颜色相同公用资源,然后一直取啥的,容易触发

from gacui.

vczh avatar vczh commented on September 28, 2024

虽然我还是不能repro,不过我还是这么改了吧,说不定是因为我升级了电脑导致没办法repro的 XD

from gacui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.