removed messages when opening or closing
This commit is contained in:
parent
4a64b2bf5d
commit
7ef068fc5b
@ -62,7 +62,7 @@ namespace sc {
|
||||
|
||||
plugin(const std::string& path) : _path {path} {
|
||||
_plugin = ::dlopen(path.c_str(), RTLD_LAZY);
|
||||
std::cerr << path << (_plugin ? "" : " not") << " opened\n";
|
||||
//std::cerr << path << (_plugin ? "" : " not") << " opened\n";
|
||||
const char* err {::dlerror()};
|
||||
if (err) std::cerr << err << '\n';
|
||||
if (_plugin) {
|
||||
@ -77,7 +77,7 @@ namespace sc {
|
||||
if (_plugin) {
|
||||
::dlclose(_plugin);
|
||||
_plugin = nullptr;
|
||||
std::cerr << _path << " closed\n";
|
||||
//std::cerr << _path << " closed\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user