Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When in some cases, ImGui will make the memory will grow infinitely. #506

Closed
wzhengsen opened this issue Sep 23, 2021 · 2 comments
Closed

Comments

@wzhengsen
Copy link
Contributor

  • adxe version:latest
  • devices test on:Windows 10
  • developing environments
    • NDK version: r19c
    • Xcode version: 12.4
    • VS/msvctools version: Visual Studio 2019(16.11)/14.29.30133
    • cmake version:
      Steps to Reproduce:
  1. See code:
if (ImGui::Begin("Window")) {
    if (ImGui::BeginChild("Child")) {
        ImGui::Text("Hello");
    }
    ImGui::EndChild();
}
ImGui::End();

2.The memory now looks fine:
image

3.Now I move the ImGui window out of the main window:
image

@halx99
Copy link
Collaborator

halx99 commented Sep 24, 2021

@wzhengsen
Copy link
Contributor Author

When I use a discrete graphics card, the memory leak disappears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants