Beispiel #1
0
        public async ValueTask DisposeAsync()
        {
            await _manager.Dispatcher.QueueForCompletion(() =>
            {
                fpdfview.FPDF_CloseDocument(_documentInstance);
            });

            _manager.RemoveDocument(this);
        }