You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2021/12/21 14:37:00 UTC
[jira] [Created] (SLING-11030) OSGiServiceInjector.getService() calls ungetService even if service is not get
Carsten Ziegeler created SLING-11030:
----------------------------------------
Summary: OSGiServiceInjector.getService() calls ungetService even if service is not get
Key: SLING-11030
URL: https://issues.apache.org/jira/browse/SLING-11030
Project: Sling
Issue Type: Bug
Components: Sling Models
Affects Versions: Models Implementation 1.5.0
Reporter: Carsten Ziegeler
Fix For: Models Implementation 1.5.2
The getService method gets all service references, but only from one of them it gets the service. However all service references are passed in to the callback for disposal. So for all references an unget is called, although it happened only for one
--
This message was sent by Atlassian Jira
(v8.20.1#820001)