István Mészáros
12/19/2023, 10:16 AMLeoColman
12/19/2023, 12:14 PMLeoColman
12/19/2023, 12:16 PMIstván Mészáros
12/19/2023, 1:07 PMApplicationStopPreparing
event handler. At this hook DI is still available and I can get the cache manager and close it properly. This works just fine at app shutdown. Hot-reload however does not fire this event for some reason, only ApplicationStopping
and ApplicationStopped
where DI is not working anymore.
I could of course create and hold my instances in my plugin scope instead of the Koin module but that seems kind of an anti-pattern to me.István Mészáros
12/19/2023, 1:58 PMarnaud.giuliani
12/19/2023, 5:34 PMarnaud.giuliani
12/19/2023, 5:36 PMonClose { }
with something to do on DI closing sequencearnaud.giuliani
12/19/2023, 5:36 PMIstván Mészáros
12/19/2023, 6:03 PMarnaud.giuliani
12/19/2023, 6:06 PM