Skip to content

[BUG] SDK does not clean up and unload after last release, and has issues with multiple initializations (was SDK initializer for C++ does not call Shutdown()) #558

Open
@Psychlist1972

Description

Reported by Reuben Thomas (JUCE) on Discord

I'm working on MIDI support again, and just got round to trying out DP8 with the new Initialization.hpp. For the most part the upgrade was straightforward, but I ran into an issue where my test app would crash on shutdown. I can avoid the crash by uncommenting m_initializer->Shutdown() in MidiDesktopAppSdkInitializer::ShutdownSdkRuntime(), so I'm wondering whether this was commented out accidentally, or whether just calling Release() is supposed to be sufficient, or whether I'm using the Initializer incorrectly.

follow-up:

Sorry to bump, but I'm still seeing crashes on Win11 Canary and the newest NuGet package when m_initializer->Shutdown() is commented out. Is this intentional? Should I be calling Shutdown myself somewhere?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-sdk 🔧Related to the application SDKbug 🐞Something isn't workingfixed-awaiting-public-release 🕙Fixed in our internal builds. Waiting to make its way to a public release.

Type

Projects

  • Status

    No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions