Skip to content

  • Projeler
  • Gruplar
  • Parçacıklar
  • Yardım
    • Yükleniyor...
  • Oturum aç / Kaydol
C
core
  • Proje
    • Proje
    • Ayrıntılar
    • Etkinlik
    • Cycle Analytics
  • Depo (repository)
    • Depo (repository)
    • Dosyalar
    • Kayıtlar (commit)
    • Dallar (branch)
    • Etiketler
    • Katkıda bulunanlar
    • Grafik
    • Karşılaştır
    • Grafikler
  • Konular (issue) 0
    • Konular (issue) 0
    • Liste
    • Pano
    • Etiketler
    • Kilometre Taşları
  • Birleştirme (merge) Talepleri 0
    • Birleştirme (merge) Talepleri 0
  • CI / CD
    • CI / CD
    • İş akışları (pipeline)
    • İşler
    • Zamanlamalar
    • Grafikler
  • Paketler
    • Paketler
  • Wiki
    • Wiki
  • Parçacıklar
    • Parçacıklar
  • Üyeler
    • Üyeler
  • Collapse sidebar
  • Etkinlik
  • Grafik
  • Grafikler
  • Yeni bir konu (issue) oluştur
  • İşler
  • Kayıtlar (commit)
  • Konu (issue) Panoları
  • LibreOffice
  • core
  • Repository

Dal (branch)/etiket değiştir
  • core
  • cli_ure
  • source
  • uno_bridge
  • cli_environment.h
Dosya bul
BlameHistoryPermalink
  • Michael Stahl's avatar
    cli_ure: adapt destructors in cli_uno library to "C++/CLI" · 25df8adb
    Michael Stahl Agu 26, 2014 yazdı
    commit 4b56d82c converted the cli_uno
    library from "Managed C++" to "C++/CLI", but forgot one detail:
    
    The destructors on "ref" classes were mapped to Finalize() methods in
    the old syntax, but the new one maps them to Dispose() methods, which
    are only invoked on stack-allocated objects.  Presumably this omission
    results in leaking of native C++ UNO objects.
    
    Reading the C++/CLI documentation i get the impression that:
    1) the destructor should explicitly call the finalizer
    2) the CLR will not call the finalizer itself iff the destructor is
       invoked
    
    http://msdn.microsoft.com/en-us/library/ms235315.aspx
    http://msdn.microsoft.com/en-us/library/ke3a209d%28v=vs.110%29.aspx
    
    Change-Id: I509d9b69a399c3d7d6597060ab9b7c78c5916e11
    Reviewed-on: https://gerrit.libreoffice.org/11132Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
    Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
    25df8adb
cli_environment.h 3.66 KB
DüzenleWeb IDE

Replace cli_environment.h

Sürükleyip bırakarak bir dosya ekle veya yüklemek için tıklayın


İptal
Çatalınızda (fork) yeni bir dal (branch) oluşturulacak ve yeni bir birleştirme (merge) talebi başlatılacak.