~raof/mir/symbols-file

« back to all changes in this revision

Viewing changes to tests/mir-stress/src/client.cpp

Remove workaround for bug #1198022.

Approved by PS Jenkins bot, Robert Ancell.

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
{
93
93
    if (connection_ != nullptr)
94
94
    {
95
 
        // The next three lines are a workaround to prevent the client API
96
 
        // from leaking file descriptors.
97
 
        MirPlatformPackage pkg;
98
 
        mir_connection_get_platform(connection_, &pkg);
99
 
        close(pkg.fd[0]);
100
 
 
101
95
        mir_connection_release(connection_);
102
96
        connection_ = nullptr;
103
97
    }